Code covered by the BSD License  

Highlights from
MATLAB 7 Fundamentos

image thumbnail

MATLAB 7 Fundamentos

by

 

09 Aug 2004 (Updated )

Companion Software for the book "MATLAB 7 Fundamentos"

cap3_filter_exemplo.m
% cap3_filter_exemplo ()
echo on
% Gerar sinal com frequencias 15 e 50 Mhz
t=0:0.01:pi;
s=sin(15*t)+sin(50*t);
[b,a]=ellip(4,10,20,0.5);
fs=filter(b,a,s);
plot(t,s,t,fs)

Contact us