已回答 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...
11 years 前 | 0
| 已接受
已回答 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...
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...
11 years 前 | 1 个回答 | 0
1
个回答
已回答 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(...