How can i build the amplitude and phase image from a series of images

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Denoising and Compression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by