![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18882818_1593461656664_DEF.jpg)
ravi shukla
Followers: 0 Following: 0
Feeds
提问
in the below mentioned code, i get an error in finding some elements (not in all) : 0×1 empty double column vector
m=41; n=51; dx=0.0500; dy=0.0500; for i=1:m for j=1:n x(i,1)=(i-1)*dx; y(j,1)=(j-1)*dy; end e...
1 year 前 | 2 个回答 | 0
2
个回答提问
I am using surf command inside time loop. And I want my initial reference surface.
I am using surf command inside time loop. And my initial surface is receiving some input. I want to update the surface but with...
1 year 前 | 1 个回答 | 0
1
个回答提问
Interpolation of given data in 2d domain
x=0,4,6,9,11,17,20 y=0,2,3,7,10,15 x is (7,1) vector & y is (6,1) z will have (known data) 7*6=42 values in this domain. h...
1 year 前 | 1 个回答 | 0
1
个回答提问
I am using plot. And I want to save my continuously changing plot in time loop. I have applied this code but error is coming regarding the frame rates. Please help.
%Initialize video myVideo = VideoWriter('myVideoFile'); %open video file myVideo.FrameRate = 6; %can adjust this, 5 - 10 work...
1 year 前 | 0 个回答 | 0
0
个回答提问
I have one for time loop under which a caclulation taking place for a 1d domain (let say 1:n). I want to plot my data against 1d domain for all times.
for t=0:2:6 for i=1:n %some calculation end % Let say this calculat...
2 years 前 | 1 个回答 | 0
1
个回答提问
Set limit for vertical or z dimension in surfl command
I am plotting my water depth in a physical domain over time with surfl(depth) where depth is a two d matrix. I want to fix verti...
3 years 前 | 2 个回答 | 0
2
个回答提问
how to terminate loop when i get desired result
i am sloving a matrix, which is in time loop (for). I want this time loop stop and present final output once the output matrix s...
3 years 前 | 1 个回答 | 0
1
个回答提问
fortran do loop to matlab
DO 7 J = 1, JMAX something DO 6 I = 1, IMAX something 6 CONTINUE 7 CONTINUE
4 years 前 | 1 个回答 | 0
1
个回答提问
limiting the Substraction Difference
i am running a code, in which there may arise a situation when my denominator might get a value =0 (and this denominator is actu...
4 years 前 | 1 个回答 | 0
1
个回答提问
Unrecognized variable x error
for k=n-1:1 x(n)=cnew(n)/dnew(n) x(k)=(cnew(k)-a(k)*x(k+1))/d(k) end Tnew(i,j)=x(i) P.S. cnew and all others ...
4 years 前 | 1 个回答 | 0
1
个回答提问
how to assign a particular value and show it on a intersection point
axis([0 4 0 5]) for i=1:n for j=1:m mapshow(i,j,'Marker','*') end end
4 years 前 | 0 个回答 | 0
0
个回答提问
how to find XLINE AND YLINE intersection
n=3; m=4; for i=1:n xline(i); for j=1:m yline(j); end end
4 years 前 | 1 个回答 | 0
1
个回答提问
Why the third else if condition.. where i==1 && j==m went unexecuted
A=zeros(12,1); n=3; m=4; for i=1:n for j=1:m if (i==1) && (j==1) A(1,1)=1; elseif (i==1) ...
4 years 前 | 1 个回答 | 0
1
个回答提问
why elseif (i==1) && j==m condition went unexecuted?
A=zeros(12,1); n=3; m=4; for i=1:n for j=1:m if i==1 && j==m A(1,1)=1; elseif (i==1) && (...
4 years 前 | 1 个回答 | 0