How can i build the amplitude and phase image from a series of images
3 views (last 30 days)
Show older comments
I need to build the amplitude and phase image from a series of images x=b(:,:,1); t = 0:1/100:10-1/100; % Time vector y = fft(x); % Compute DFT of x m = abs(y); % Magnitude p = unwrap(angle(y)); % Phase
f = (0:length(y)-1)*100/length(y); % Frequency vector
subplot(2,1,1)
plot(f,m)
title('Magnitude')
ax = gca;
ax.XTick = [15 40 60 85];
subplot(2,1,2)
plot(f,p*180/pi)
title('Phase')
ax = gca;
n = length(y)
ax.XTick = [15 40 60 85];
y = fft(x,n);
t = 0:1/255:1;
x = sin(2*pi*120*t);
y = real(ifft(fft(x)));
i obtined this result 'untitled.fig' but i need to build this image
please help me to found this result
0 Comments
Answers (0)
See Also
Categories
Find more on Image Segmentation and Analysis 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!