Fourierova trans. matlab
|
01-31-2018, 08:01
Príspevok: #2
|
|||
|
|||
RE: Fourierova trans. matlab
Zdravim,
nejak takto? Je tam iba jednoduchy nezasumeny signal. Drzim palce clc;clear all; x=0:0.01:4; dx=mean(diff(x)); y=sin(2*pi*x*7)+sin(2*pi*x*12); f=fftshift(fft(y)); nn=length(x); dw=1/dx/nn; w=dw*(-floor(nn/2):1:floor(nn/2)); plot(w,abs(f)) xlabel('w') figure(2) plot(w(floor(nn/2):end),abs(f(floor(nn/2):end))) xlabel('w') |
|||
|
Príspevky v tejto téme |
Fourierova trans. matlab - zdenoky - 01-30-2018, 18:53
RE: Fourierova trans. matlab - Eduard - 01-31-2018 08:01
RE: Fourierova trans. matlab - zdenoky - 01-31-2018, 13:43
RE: Fourierova trans. matlab - zdenoky - 01-31-2018, 16:29
RE: Fourierova trans. matlab - Eduard - 01-31-2018, 20:44
RE: Fourierova trans. matlab - zdenoky - 01-31-2018, 21:12
|