summaryrefslogtreecommitdiff
path: root/52/CH1/EX1.62/Example1_62.sce
blob: fefc888d97bdac2ff14583e483aca4d88e8e7560 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 1.62
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
//Fourier transform of (0.8)^|n| u(n) 
clear;
clc ;
close ;
syms w n;
X= symsum ((0.8)^n*%e^(%i*w*n),n ,1, %inf )+symsum ((0.8)^n*%e^(-%i*w*n),n ,0, %inf )
//Display the result in command window
disp (X,"The Fourier Transform comes out to be:");