Signal Processing Programs
programs written using MATLAB by Ms. Anju K
Pages
Home
Syllabus of 'Digital Signal Processing Lab' in the KTU B.Tech ECE 5th semester can be seen by clicking here.
34 matlab programs here! Please click here to see all the matlab programs present in this blog
About this weblog
Showing posts with label
cosine
.
Show all posts
Showing posts with label
cosine
.
Show all posts
MATLAB program to find the Fourier Transform of cosine wave
Program code
clc;
clear
all
;
close
all
;
t=0:0.001:1;
cwtstruct = cwtft((cos(2*3.14*1000*t)),
'plot'
);
Output
______________________________________
MATLAB Program to generate a cosine waveform
Program Code
clc;
clear all;
close all;
f=1000;
t=0:1/(f*1000):2/f;
y1=cos(2*pi*f*t);
plot (t,y1);
xlabel ('Time');
ylabel ('Amplitude');
title ('cosine Waveform');
grid on;
Output
_______________________
Older Posts
Home
Subscribe to:
Posts (Atom)