A résolu


Kinetic energy calculation

plus de 2 ans il y a

A résolu


Laws of motion 6

plus de 2 ans il y a

A résolu


Laws of motion 5

plus de 2 ans il y a

A résolu


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

plus de 2 ans il y a

A résolu


Laws of motion 3

plus de 2 ans il y a

A résolu


Laws of motion 2

plus de 2 ans il y a

A résolu


Laws of motion 1

plus de 2 ans il y a

A résolu


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

plus de 2 ans il y a

A résolu


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

plus de 2 ans il y a

A résolu


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

plus de 2 ans il y a

A résolu


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

plus de 2 ans il y a

A résolu


Return area of square
Side of square=input=a Area=output=b

plus de 2 ans il y a

A résolu


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

plus de 2 ans il y a

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

plus de 2 ans il y a

A résolu


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

presque 3 ans il y a

A résolu


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

environ 8 ans il y a

A résolu


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

environ 8 ans il y a

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

environ 8 ans il y a

Réponse apportée
How do I turn data values with corresponding 3D coordinates into a 3D matrix?
take a look at plot3(x,y,z) for plotting the points. next decide how you want the forces applied. 4th argument to plot3 can ...

environ 8 ans il y a | 0

Réponse apportée
Correlation between two variables (not same size, not pairs)
you might want to look into crosscorrelation?

environ 8 ans il y a | 0

Réponse apportée
how to present a blank screen after random numbers?
depending on if you use the figure or the command promt. if command promt, "clc" might be what you are looking for. if it's ...

environ 8 ans il y a | 0

Réponse apportée
How can I plot the gradient vector of y=f(X) which is perpendicular to the graph?
try; axis equal

environ 8 ans il y a | 0

Réponse apportée
Is it possible to print multiplication sign on a plot title?
title('Is it possible to print * sign on a plot title?') Is this what you are looking for?

environ 8 ans il y a | 0