Answered New to Matlab, need help
Operators can't be omitted. If 'a=2', you want '4',then you need '2*a', not '2a'. And you'd better type your code in Matlab, you...
12 years ago | 0
| accepted
Answered What is this block?
Sign->Indicate sign of input.
* The output is 1 when the input is greater than zero.
* The output is 0 when the input is eq...
12 years ago | 0
| accepted
Answered simple loop option to reduce code
T=0.25;
t{1}=-3*T/12:.001:T/12;
for r=2:6
t{r} = t{r-1}(end):.001: t{r-1}(end) + T/3;
end
12 years ago | 0
| accepted
Question
Change a read-only file to writable
Hello everyone, I used 'copyfile' to copy an Excel file to current folder, because the source file is read-only, so the destinat...
12 years ago | 1 answer | 0
1
answer
Answered Separating values in cell arrays
Try this
a{1}=[2 3];
[row,col] = size(a{1});
for i = 1:col
for n = 1:row
output{i} = ['1 ',num2str(...