A résolu


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

plus de 5 ans il y a

A résolu


Is my wife right?
Regardless of input, output the string 'yes'.

plus de 5 ans il y a

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

plus de 5 ans il y a

A résolu


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

plus de 5 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 ...

plus de 5 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...

plus de 5 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:...

plus de 5 ans il y a

Réponse apportée
Need help with the 'Area' function!
LineStyle refers to the style of line around the area. So if you set LineStyle to 'none', then you'll not get any line around th...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How to predict step ahead/future values by applying moving average?
My assumption is that you want to predict values of future rows for which data is not there. By carefully looking at excel pr...

plus de 5 ans il y a | 0

Réponse apportée
macOS Mojave and wavelet toolbox: where are the demo folders?..
You can find the path of the file 'noissin.mat' using 'find' in macOS. Refer to this link for more information.

plus de 5 ans il y a | 0

Réponse apportée
pkg load image won't load
You can't add packages like this in MATLAB. This answer will help you in that. Just drop the first line and your code just works...

plus de 5 ans il y a | 1

Réponse apportée
MATLAB image distinction/comparison
You can refer to this answer.

plus de 5 ans il y a | 0

Réponse apportée
How can I easily plot a system of linear equations?
Since you are using only the first row of x1 and first column of x2, you can vectorize this implementation. Steps which you can...

plus de 5 ans il y a | 0

Réponse apportée
Incomplete contour map - Current is not filling the plot
By executing your code I can see that there are many 'NaN' values in the "Z" matrix. Hence, as a result, that points on the cont...

plus de 5 ans il y a | 0

Réponse apportée
sum with odd n+k
I am assuming that "" is scalar and hence taking it as "r", but that shouldn't matter for this question. Also please initialize ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Plotting data within while loop,help
You can use "drawnow" if you want to plot data in each iteration of while loop. w = 25.5; E = 50*10^3;I = 30*10^3; L = 600; dy...

plus de 5 ans il y a | 0