0% found this document useful (0 votes)
42 views

Trace and Plot Basic Trigonometric Functions in Matlab: Objective

This document provides instructions for plotting basic trigonometric functions in MATLAB. It describes how to generate x-values from 0 to 2pi in increments of 0.1, and use those x-values to plot the sine, cosine, and tangent functions. It also demonstrates how to create subplots to show the sine and cosine functions on the same graph. The objective is to trace and plot sine, cosine, tangent, and other trigonometric functions in MATLAB.

Uploaded by

M Azeem
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

Trace and Plot Basic Trigonometric Functions in Matlab: Objective

This document provides instructions for plotting basic trigonometric functions in MATLAB. It describes how to generate x-values from 0 to 2pi in increments of 0.1, and use those x-values to plot the sine, cosine, and tangent functions. It also demonstrates how to create subplots to show the sine and cosine functions on the same graph. The objective is to trace and plot sine, cosine, tangent, and other trigonometric functions in MATLAB.

Uploaded by

M Azeem
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

LAB#02

Trace and plot basic trigonometric functions


in MATLAB

Objective: Trace and plot basic trigonometric functions


in MATLAB.
Trigonometric Functions:

Exponential Functions:

MATLAB Plotting Trigonometric Functions

Type at the Matlab prompt:

x=[0:0.1: 2*pi];
y=sin(x); plot(x,y);
xlabel(`angle (rad)`)
ylabel(`sine`)
title(`y = sin(x)`)
You will see a sinusoid on the graphics window. The sinusoid is plotted for values of x between
0 and 2 p; the step between consecutive values of x is 0.1.
Experiment with commands "cos", "tan", "cot". Subplot:

a
= 10;
t = 0 : 0.01 : 10; A =
a*sin(t);
subplot(121),plot(t,A)
; B = a*cos(t);
subplot(122),plot(t,B)
;

Task: Continuous periodic signal time period and frequency relation.


2. Plot y=ex/2

For x, values in the range [-2, 10]


Psychomotor Domain Rubrics
Levels
PLO
no Criteria Beginning (1) Developing (2) Accomplished (3) Exemplary (4)

Apply Student is unable to apply With instructor/ supervisor’s With instructor/ Student is able to apply all
Procedural described procedure to guidance, student is able to supervisor’s guidance, procedural knowledge to
5 Knowledge to perform activity despite apply some of the described student is able to apply all independently perform
perform an instructor/ supervisor’s procedure to partially described procedure to activity without instructor/
activity guidance. perform activity. fully perform activity. supervisor’s guidance.

Effectively Student is able to effectively


Student is unable to Student is able to partially Student is able to
document/ and independently
effectively document/ document/ communicate effectively document/
10 communicate communicate performed document/ communicate
performed performed activities despite communicate performed
activities despiteguidance. performed activities form
activities guidance. activities with guidance.
without any guidance.

Activity Name  EXPERIMENT No. 1

Group No. 

Student Roll No.  12438

C P Domain
N L L + Criteria Awarded Score (out of 4 for each cell)
o. O O Taxonomy
1 5 5 P3 Operational Skills for Hardware/Software equipment and
involved components
2 A3 Effectively reported the activity performed in lab
6 10

- - - -

Total
-

You might also like