Hi, I'm trying to plot an image of fringes by a signal but i get this message "Subscripted assignment dimension mismatch // Too many input arguments". can someone please help me!!

1 vue (au cours des 30 derniers jours)
a=1:255; x=repmat(a,255,1); y=x; A=1; f=0.08; phase(x,y)=3.*(1-x).^2*exp(-x.^2-(y+1).^2)-10.*(x./5-x.^3-y.^5)*exp(-x.^2-y.^2)-1./3*exp(-(x+1).^2-y.^2); I =A*cos(2*pi*f*x+phase); figure;imshow(I/255)

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by