fourier series - fourier transform

i want fourier and fourier transform of the " u " .
t = 0:0.001:0.334;
u = ones(size(t)).*(t >= 0).*(t <= 0.02)+zeros(size(t)).*(t > 0.02).*(t < 0.287)+ones(size(t)).*(t >= 0.287).*(t <= 0.307)+zeros(size(t)).*(t > 0.307).*(t <= 0.335);

댓글 수: 2

Azzi Abdelmalek
Azzi Abdelmalek 2013년 10월 25일
Fourier and Fourier transform, What is the difference between the two?
for g Fourier is f(t)=a0+sigma(an*cos... ), a=1/T*int(g), ... and Fourier transform is F(w)=integral(g*exp(-iwt)).... .

댓글을 달려면 로그인하십시오.

답변 (1개)

Jamie
Jamie 2013년 10월 27일
편집: Jamie 2013년 10월 27일

0 개 추천

Hey Ebi,
The choice of fourier transform or fourier series simply depends on whether the signal is periodic or aperiodic.
To obtain the transform
help fft
Cheers

댓글 수: 2

ebi
ebi 2013년 10월 27일
yes my signal is load-time signal with T0=0.334(period).for fourier transform we need to define w . how we define w and t? " u " is define in good way to use in fourier transform or fourier series ? the " u " is a simple piecewise function that relate to t.
Jamie
Jamie 2013년 10월 28일
편집: Jamie 2013년 10월 28일
Hey Ebi, I would be looking at the curve fitting tool (fourier series ~ periodic). From my understanding you're simply attempting to fit a curve to the signal 'u' with elements acos()+ bsin ().. etc. All you need to do is specify the number of terms and apraise the fit.
have a look at the link I pasted above.
Cheers

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

질문:

ebi
2013년 10월 25일

편집:

2013년 10월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by