how to find derivative of an image with respect to x and y axis ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
i have matlab code for an image matrix as given below and i have to find derivative along x and y axis then how to get?
m=1000; n=m; f1=20; f2=0; for i=1:m; for j=1:n; a(i,j)=exp(1i*2*pi*(f1*j/n+f2*i/m)); end end subplot(2,2,2),imshow(a,[]);
1 Kommentar
Rik
am 22 Feb. 2017
You should also have a look at the documentation for diff and meshgrid
doc diff
doc meshgrid
Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!