Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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

Respuestas (0)

Categorías

Más información sobre Denoising and Compression en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by