Feeds
提问
elimination of the chosen elements and rearranging the matrix
a=[1 2 3 4 5 6 7 8 nan nan nan nan nan]; for i=1:length(a) b(i)=a(i)+1; if b(i)< 4 b(i)=[]; elseif b(i)>6 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
removing the array elements
%testing the elimation of the elements outside the boundary% np=22; L=10; x=linspace(0,L,np); %position(:,1)=x; for i=1:np ...
7 years 前 | 1 个回答 | 0

