You are on page 1of 2

ESTIMATION OF VARIOUS FUNCTIONS

Experiment No. : 1
Date: July 20, 2016
AIM
(i)

(ii)

Create a plot for sine and cosine functions by highlighting the legend, title and
label.
Create individual plot for unit step, impulse, sigmoid, hyperbolic function.
SOFTWARE REQUIRED: MATLAB R2015a
PROCEDURE
1. Enter the command window of the MATLAB.
2. Create a new M file by selecting File - New M File
3. Type and save the program in the editor window.
4. Execute the program by pressing Tools Run.
5. View the results.
PROGRAM
clc
clear all
a=10;
w=2;
phase=pi/6;
t=0:0.01:10;
z=a*cos(w*t)
y=a*sin(w*t)
figure(1)
plot(t,y);
figure(2)
plot(t,z);
L=findobj(1,type,line);
Copyobj(L,findobj(2,type,axes);

WAVEFORM

You might also like