xiexiezaijian
Followers: 0 Following: 0
A USTCer major in physics and do the research with the help of MATLAB.
Feeds
답변 있음
I have a column cell array "teste1" and I want to create "teste2": if "teste1" is not 0, I want a 'V'; if "teste1" is 0, I want to compare 2 other different string cells and the result would be from 1 to 5 (or 0, if no condition was satisfied)
I think the problem is in these lines: if teste2(:)~=0 teste2(:)='V'; but I get really confused about what you want...
I have a column cell array "teste1" and I want to create "teste2": if "teste1" is not 0, I want a 'V'; if "teste1" is 0, I want to compare 2 other different string cells and the result would be from 1 to 5 (or 0, if no condition was satisfied)
I think the problem is in these lines: if teste2(:)~=0 teste2(:)='V'; but I get really confused about what you want...
거의 8년 전 | 1
답변 있음
How to draw the collision of two ball with Matlab?
I think using these built-in functions will help: 1. handle01 = plot([X1,X2],[Y1,Y2],'.','MarkerSize',10);% draw two points t...
How to draw the collision of two ball with Matlab?
I think using these built-in functions will help: 1. handle01 = plot([X1,X2],[Y1,Y2],'.','MarkerSize',10);% draw two points t...
거의 8년 전 | 2
| 수락됨
답변 있음
Please I need help in MATLAB!!
since no loops and no bin2dec, this work could be done using the definition of binary number and vecterization operation. Take b...
Please I need help in MATLAB!!
since no loops and no bin2dec, this work could be done using the definition of binary number and vecterization operation. Take b...
거의 8년 전 | 1
답변 있음
How to do it?
I see, if no boundary, it will be easy with the help of built-in functions: 1. [x,y] = meshgrid(input arguments)% get the mes...
How to do it?
I see, if no boundary, it will be easy with the help of built-in functions: 1. [x,y] = meshgrid(input arguments)% get the mes...
거의 8년 전 | 1