how to find stair phase ?

1 view (last 30 days)
ajeet verma
ajeet verma on 23 Aug 2017
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

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!