필터 지우기
필터 지우기

How to save variable (Sum1) which is a plot , so that I can use it in later subsection to do some more computations.

조회 수: 1 (최근 30일)
for ik=1:40
Image = S(ik)*((abs(Phi(:,:,ik)).^2));
Sum1= Sum1+Image;
end
mesh(fftshift(X),fftshift(Y), fftshift(abs(Sum1)),'FaceColor','flat'); view(0,90);
xlim([-2,2]); ylim([-2,2]);
axis square;
  댓글 수: 1
elham kreem
elham kreem 2018년 3월 19일
i dont know what is the fuction s(ik) .
any way . because you have Sum1= Sum1+Image , in the loop , then you must put sum1=0 , before the loop .

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by