how to find stair phase ?

2 次查看(过去 30 天)
ajeet verma
ajeet verma 2017-8-23
i have stair phase equation and i am trying to generate but its not working properly, so please help my code is: clc; clear all; m=256; n=256; p=100; N=4; for i= 1:m for j=1:n SP(i,j)=-pi+round(mod(i,p))*(2*pi/N); end
end plot(SP);
please find attachment

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by