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;

回答(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