>>Fs = 100; >>t = (1:100)/Fs; >>s = sin(2*pi*t*5)+sin(2*pi*t*15)+sin(2*pi*t*30); >> >>sptool |
![]() Slide 1 |
Signal Processing 4.0 provides an easy to use graphical user interface (GUI) that can be used for manipulating signal data and performing complicated calculations. In this example, we will create a signal with 5, 15 and 30Hz components, and then use the Signal Processing tool (sptool) to design a digital filter to retain the 15Hz signal. Above are the commands to produce the signal and launch sptool. |