셈툴 다운로드

셈툴 튜토리얼

공학수학 | Fourier 변환 |

페이지 정보

작성자 cemtool 작성일14-06-16 16:36 조회9,231회 댓글0건

본문

다음과 같은 함수를 생각해보자.
이 함수에 대한 Fourier 변환의 크기함수는 다음과 같다.
두 함수, 즉 시간에 대한 함수와 Fourier 변환의 크기함수의 그래프를 그려라.
ex8_10.cem
/*
 Example 8.10 CEMTool Fourier transform
*/
 
// Plot f(t)=exp(-t), t=[0,4] and
// the magnitude of the Fourier transform
t=[0:4:0.1];               // Range in time
foft=exp(-t);             
// Plot magnitude of F(w)w=[-4:4:0.1];
Fw=1./(sqrt(1+w.^2));     // Fourier transform
 
subplot(2,1,1)plot(t,foft)xtitle("t")ytitle("f(t)")title("Fourier Transform of f(t)=exp(-t)")      
subplot(2,1,2)plot(w,Fw)xtitle("Radian frequency w")ytitle("|F(w)|")
 
 

댓글목록

등록된 댓글이 없습니다.