How can i build the amplitude and phase image from a series of images
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!