Feeds
提问
how to change data
i have a matrix like this: [1 0 0 1 1 1 1 0 1 1 0] i need to change to: [1 0 0 4 4 4 4 0 2 2 0] how to make a loop?thank...
13 years 前 | 7 个回答 | 1
7
个回答提问
loop error
x=[1.1 2.4 3.1 4.8 5.9 6.2 7.9 8.9 9.7 10.3 11.2 12.6 13.7 14.2 15.9 16.8 17.0 18.5 19.6 20.3 21.7 22.6 23.8 24.7 25.9 26.1 27...
15 years 前 | 1 个回答 | 0
1
个回答提问
error for Index exceeds matrix dimensions
This is my code: for k=1:length(X0); %X0 is a 1xN cell,N is an unknown number. if X0{:,k}==0; X0(:,k)=[]; ...
15 years 前 | 2 个回答 | 0
2
个回答提问
get data from cell
I have a cell which structure is 1x5 like A=[1x25 double] [1x13 double] [1x9 double] [1x7 double] [1x5 double]. ...
15 years 前 | 1 个回答 | 0
1
个回答提问
how to make loop
I have asked the question as http://www.mathworks.com/matlabcentral/answers/3748-how-to-make-a-loop-for-end. Matt fig helped m...
15 years 前 | 1 个回答 | 0
1
个回答提问
how to make a loop(for...end)
I'm a new guy for matlab loop. Righi now I want to now some rools about loop(for...end). Such as how to make a loop to get all o...
15 years 前 | 4 个回答 | 0
4
个回答提问
Get data from a matrix
I have a matrix such as x0=[3.88,3.88,3.88,3.88,3.88,3.88,3.59,3.59,3.59,3.59,3.59,3.23,3.59,3.59,3.23,3.23,3.23,2.94,2.94,2.94...
15 years 前 | 1 个回答 | 0
1
个回答提问
Polynomial curve fitting--how to use cubic
I have this code:x=[1.69,1.99,1.99,1.99,1.99,1.99,2.70,2.70,2.70,3.00,3.00,3.00,3.00,3.37,3.37]; plot(x,'r-'); I use the tool ...
15 years 前 | 1 个回答 | 0
