Owen Mok
Followers: 0 Following: 0
Statistiken
0 Probleme
40 Lösungen
RANG
N/A
of 289.945
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 19.611
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
sum of non-primes
The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...
fast 3 Jahre vor
Gelöst
Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...
fast 3 Jahre vor
Gelöst
Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...
fast 3 Jahre vor
Gelöst
Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...
fast 3 Jahre vor
Gelöst
Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?
fast 3 Jahre vor
Gelöst
Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?
fast 3 Jahre vor
Gelöst
Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm
fast 3 Jahre vor
Gelöst
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
fast 3 Jahre vor
Gelöst
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...
fast 3 Jahre vor
Gelöst
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
fast 3 Jahre vor
Gelöst
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
fast 3 Jahre vor
Gelöst
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
fast 3 Jahre vor
Gelöst
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
fast 3 Jahre vor
Gelöst
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
fast 3 Jahre vor
Gelöst
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
fast 3 Jahre vor
Gelöst
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
fast 3 Jahre vor
Gelöst
Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...
etwa 3 Jahre vor
Gelöst
If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...
etwa 3 Jahre vor
Gelöst
Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2
etwa 3 Jahre vor
Gelöst
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
etwa 3 Jahre vor
Gelöst
Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...
etwa 3 Jahre vor