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

LAB 3 Matlab

This document provides instructions for generating and plotting different baseband analog and discrete signals in MATLAB. It describes how to create vectors, use basic trigonometric functions, and plot sine waves, lines, and other functions. The tasks outlined include plotting sinusoidal signals, the sine function, hyperbolic sine, and inverse hyperbolic tangent over various domains.

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)
60 views

LAB 3 Matlab

This document provides instructions for generating and plotting different baseband analog and discrete signals in MATLAB. It describes how to create vectors, use basic trigonometric functions, and plot sine waves, lines, and other functions. The tasks outlined include plotting sinusoidal signals, the sine function, hyperbolic sine, and inverse hyperbolic tangent over various domains.

Uploaded by

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

LAB # 03

Generation and Plotting of Different


Baseband Analog and Discrete Signals in
MATLAB
Two features make MATLAB particularly useful. MATLAB knows how to work
with vectors, and it knows how to produce all sorts of graphs. Let us start with vectors. Then
we will move on to plotting graphs. MATLAB recognizes this as a command to
allocate memory for and to assign the set of numbers listed to a. For example, giving
MATLAB the command a = [1 2 3 4 5] causes MATLAB to respond with

a=12345

The Colon Operator:

Basic Trigonometric Functions in MATLAB:


Different MATLAB Comm ands:

Variables in MATLAB
Complex Numbers

Example: To Plot Sine Wave of 2 Hz


>> t = [0:.01:1];
>> s = sin(2*pi*2*t);
>> plot(t,s)

and you get


To Plot Many Lines in same Window

Task :
1. Continuous Signal:
Plot the first ten cycles of sinusoid (sin) with time period of 10 seconds. The horizontal axis
corresponds to time period of the sinusoid while vertical axis depicts the values of sinusoid.
Note: Use plot command to show the graph
2.

2.a

2.b
2.c

2.d
3. Plot the sine function over the domain −π≤x≤π.

4. Plot the hyperbolic sine over the domain −5≤x≤5.

5.
Note: create a vector from -3 to 3 with a step of 0.25.

6. Plot the inverse hyperbolic tangent function over the interval −1<x<1.
Levels
PLO

no Criteria Beginning (1) Developing (2) Accomplished (3) Exemplary (4)

With instructor/ supervisor’s With instructor/ supervisor’s Student is able to apply all
Apply Procedural Student is unable to apply guidance, student is able to guidance, student is able to procedural knowledge to
Knowledge to described procedure to perform
1 apply some of the described apply all described independently perform
perform an activity despite instructor/
procedure to partially perform procedure to fully perform activity without instructor/
activity supervisor’s guidance. activity. activity. supervisor’s guidance.
Student is able to
With instructor/ supervisor’s
Design systems, Student is unable to design With instructor/ supervisor’s guidance, student is able to independently design
components systems, components and/or guidance, student is able to systems, components and/or
fully design systems,
3 and/or processes processes to meet specifications partially design systems, processes to meet
components and/or
to meet despite instructor/ supervisor’s components and/or processes to processes to meet specifications without
specifications guidance. meet specifications. instructor/ supervisor’s
specifications.
guidance.
With instructor/ supervisor’s Student is able to
Data Analysis Student is unable to analyze/ With instructor/ supervisor’s
guidance, student is able to independently
and interpret obtained results guidance, student is able to
4 analyze/interpret obtained
interpretation of despite instructor/ supervisor’s partially analyze/interpret fully analyze/interpret
results without
obtained results guidance. obtained results. obtained results.
instructor/ supervisor’s
guidance.
Operational Student has shown little to no With instructor/ supervisor’s With instructor/ supervisor’s
Skills for ability to handle/use guidance, student can Student can handle/use all
guidance, student can
Hardware/Softw equipment/software and handle/use all equipment/software and
5 handle/use some of the
are equipment involved components despite equipment/ software and equipment/software and involved components without
and involved instructor/ supervisor’s involved components. instructor/ supervisor’s
involved components.
components guidance. guidance.

Student has shown little to no With instructor/ supervisor’s Student has followed all safety
Follow personal regard for personal and With instructor/ supervisor’s
guidance, student followed rules and protocols without
6 and equipment equipment safety regulations guidance, student followed
some of the personal and instructor/ supervisor’s
Safety Rules despite instructor/ supervisor’s all safety rules.
equipment safety regulations guidance.
guidance.

Psychomotor Domain Rubrics


Activity Name EXPERIMENT No. 3

Group No.

N
C P Domain + Student Roll No. 12438
L L Taxonomy Criteria Awarded Score (out of 4 for each cell)
o. O
O

1 P3 Operational Skills for Hardware/Software equipment and


5 5
involved components
2 6 10 A3 Effectively reported the activity performed in lab

- - - -

Total
-

You might also like