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

4 Ansichten (letzte 30 Tage)
dziri halima
dziri halima am 28 Aug. 2015
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

Antworten (0)

Kategorien

Mehr zu Denoising and Compression 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!

Translated by