Generation of Sinusoidal signal through filtering
AIM : To generate the sinusoidal signal using filter.
EQUIPMENTS:
Operating System  Windows XP
Constructor  Simulator
Software  CCStudio 3 & MATLAB 7.5
PROGRAME:
clear all
close all
echo on
t0=.2; % signal duration
ts=0.001; % sampling interval
fc=250; % carrier frequency
fs=1/ts; % sampling frequency
t=[t0/2:ts:t0/2]; % time vector
kf=100; % deviation constant
m=cos(2*pi*10*t); % the message signal
int_m(1)=0;
for i=1:length(t)1 % integral of m
int_m(i+1)=int_m(i)+m(i)*ts;
echo off ;
end
echo on ;
u=cos(2*pi*fc*t+2*pi*kf*int_m); % modulated signal
%now lets filter the signal
[z,p] = butter(1,2*50/fs,'low');
filter_out = filter(50,[1 50],u); %this damn filter doesn't work!
subplot(2,1,1);
plot(t,u);
hold on;
plot(t,m,'r');
subplot(2,1,2);
plot(t,filter_out);
hold on;
plot(t,m,'r')
RESULT: The sinusoidal signal is generated from filter response for given values .
VIVA QUESTIONS:
 What is the special about minimum phase filter?
 In signal processing, why we are much more interested in orthogonal transform?
 How is the nonperiodic nature of the input signal handled?
 If a have two vectors how will i check the orthogonality of those vectors?

CreatedFeb 03, 2020

UpdatedFeb 03, 2020

Views732
Generation of basic signals using MATLAB
Find DFT / IDFT of given DT signal
Design of FIR filters of Low pass and high pass filter using Matlab commands
Implementation of analog IIR low pass and high pass filter for a given sequence
Find frequency response of a given system given in (Transfer Function/ Differential equation form
Impulse response of a given system