photo

ravi shukla


Last seen: 3개월 전 2020년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 3
  • Thankful Level 2

배지 보기

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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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...

거의 2년 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 1 | 0

1

답변