A résolu


Parallel vectors
Return true or false depending on whether 2 vectors are parallel or not. Vectors can be 2 or 3 dimensional. The origin is not c...

plus de 8 ans il y a

A résolu


Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

plus de 8 ans il y a

A résolu


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 ...

plus de 8 ans il y a

A résolu


Reference Index Number
Given a reference set R of elements (each unique but identical in type), and a list V of elements drawn from the set R, possibly...

plus de 8 ans il y a

A résolu


Test if a number is numeric or not
Test if a number is numeric or not

plus de 8 ans il y a

Réponse apportée
padarray using a for loop
I think the error is because you are trying to assign a padded row vector of length M to the pre-padded row vector of length N (...

plus de 8 ans il y a | 0

Réponse apportée
faster reading using csvread question
Have you tried <https://www.mathworks.com/help/matlab/ref/readtable.html readtable>? I haven't run any timing diagnostics to see...

plus de 8 ans il y a | 0

Réponse apportée
Replace NaN by using for loop
When you say "it cannot be run", do you mean that you receive an error? If so, what line does the error point to and what is the...

plus de 8 ans il y a | 0

A résolu


Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?

plus de 8 ans il y a

A résolu


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

plus de 8 ans il y a

A résolu


number of groups
In a classroom, *n* students work on a special project and the other students work in groups of five. If there are 18 students i...

plus de 8 ans il y a

A résolu


Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.

plus de 8 ans il y a

A résolu


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

plus de 8 ans il y a

A résolu


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

plus de 8 ans il y a

A résolu


Weighted average
Compute the weighted average Y, of the vector A, given the weight vector W. The weighted average is the sum of the dot produc...

plus de 8 ans il y a

A résolu


times 4
times 4

plus de 8 ans il y a

A résolu


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

plus de 8 ans il y a

A résolu


Even or Odd
Write a function which can tell us if the given value x is odd or even. So if x is even return true and if x is odd return false...

plus de 8 ans il y a

A résolu


raise 1/3
raise 1/3

plus de 8 ans il y a

A résolu


what is the speed of the car if the car travelled 10m in 5 seconds
what is the speed of the car if the car travelled 10m in 5 seconds

plus de 8 ans il y a

A résolu


what is the cosine of pi
what is the cosine of pi

plus de 8 ans il y a

A résolu


what is sin of 0
what is sin of 0

plus de 8 ans il y a

A résolu


Area of square
find the area of the square, whose length of diagonal is given as x.

plus de 8 ans il y a

A résolu


times 2
times 2

plus de 8 ans il y a

A résolu


times 3
times 3

plus de 8 ans il y a

A résolu


times 5
times 5

plus de 8 ans il y a

A résolu


times 5
times 5

plus de 8 ans il y a

A résolu


times 1
times 1

plus de 8 ans il y a

A résolu


times 2
t

plus de 8 ans il y a

A résolu


times 33
times 33

plus de 8 ans il y a

Charger plus