Impact-Site-Verification: dbe48ff9-4514-40fe-8cc0-70131430799e

Search This Blog

Digital Sinusoidal Oscillator | DSP | MATLAB


%Code:
%Sine signal generation of 5 volt amplitude and w=pi/10
clc
clear all
close all
num=[0 5*0.3090];
den=[1 -2* 0.9511 1];
n=0:100;
x=(n==0);
y=filter(num,den,x);
stem(n,y);

%Cosine signal generation of 5 volt amplitude and w=pi/10
clc
clear all
close all
num=[5 -5*0.9511];
den=[1 -2* 0.9511 1];
n=0:100;
x=(n==0);
y=filter(num,den,x);
stem(n,y);


No comments

Popular Posts

Followers