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...
4 years 前
已解决
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:...
4 years 前
已回答 Plot convolution of continuous signal
Hi Michelle,
Your code
t= -2.5:.001:3.5;
he1 = (1-t).*(heaviside(t)-heaviside(t-1));
he2 = (t).*(heaviside(t+2)-heaviside(t...
4 years 前 | 0
已回答 Read/write text file in an app
Hi Peter,
I think you can use the function fopen and fprintf to create and write to text file.
Then, you can try to use fgets ...
4 years 前 | 0
已回答 How to use If else statements?
Hi Danny,
For using if-else function, I recommend you to type <help if> in matlab command line or this link if, elseif, else to...