AIM:
To verify Sum of Sinusoidal Signals using MATLAB
EQUIPMENTS:
Operating System – Windows XP
Constructor - Simulator
Software - CCStudio 3 & MATLAB 7.5
THEORY:
To generate fourier series of a signal by observing sum of sinusoidal signals & observing gibbs phenomenon effect.
PROGRAM:
% sum of sinusoidal signals
clc;
clear all;
close all;
tic;
%giving linear spaces
t=0:.01:pi;
% t=linspace(0,pi,20);
%generation of sine signals
y1=sin(t);
y2=sin(3*t)/3;
y3=sin(5*t)/5;
y4=sin(7*t)/7;
y5=sin(9*t)/9;
y = sin(t) + sin(3*t)/3 + sin(5*t)/5 + sin(7*t)/7 + sin(9*t)/9;
plot(t,y,t,y1,t,y2,t,y3,t,y4,t,y5);
legend('y','y1','y2','y3','y4','y5');
title('generation of sum of sinusoidal signals');grid;
ylabel('---> Amplitude');
xlabel('---> t');
toc;RESULT:
1 comments:
Hi sir,
Sorry sir i have mail you for the code instead to do in comment, but i am unable to comment.
Sir I am doing project on title " RF PROPAGATION INVESTIGATIONS AT 915/2400MHz
IN INDOOR CORRIDOR ENVIRONMENTS FOR WIRE-LESS SENSOR COMMUNICATIONS"
and i have to do some extension also and i have very little time to do. so, please will you provide me " ray tracing matlab code " based on this base paper parameters. I would be very thankful sir for this kind of help. Hoping a positive response from your side.
Thanks and Regard,
Shamsiya tabassum
Post a Comment