DSP Lab 1
DSP Lab 1
for the complete fulfilment of the requirements for the lab course of
Submitted by
BS Computer 6th
Lab Instructor
LAB NO. 1
INTRODUCTION TO MATLAB & ITS BASIC COMMANDS
Lab Objectives:
Introduction to MATLAB
Basic commands of MATLAB
List of Equipment:
Personal computer
MATLAB software
Theory
MAT-LAB: Matrix Laboratory
I. MATLAB is a programming and numeric computing platform used by millions of
engineers and scientists
II. MATLAB combines a desktop environment tuned for iterative analysis and design
processes with a programming language that expresses matrix and array mathematics
directly. to
III. MATLAB toolboxes are professionally developed, rigorously tested, and fully
documented.
IV. MATLAB apps let you see how different algorithms work with your data. Iterate until
you’ve got the results you want, then automatically generate a MATLAB program to
reproduce or automate your work.
MATLAB capabilities
I. Data Analysis : Explore, Model And analyze data
II. Graphs : Visualize and explore data
III. Programming: create scripts, Functions, and classes
IV. External Language Interface: interface MATLAB with python, C/C++ and other language
V. Hardware: connect directly MATLAB with hardware
VI. develop algorithms: various A.I algorithm
VII. Parallel computing: perform large-scale computations and parallelize simulations using
multicore desktops and GPUs.
Procedure
First run the software.
Lab Manual Digital Signal Processing Name:Mohammad Salman
CMS ID: 49060
MATLAB ENVIRONMENT
➢Command Window: This is the main area where commands can be entered at the
command line.
➢Work-Space: The workshop shows all the variables created and/or imported form files.
➢Current folder: The current folder shows which MATLAB folder you have been working
on.
➢Editor Window: This is a simple text editor where you can load, edit, write and save the
complete MATLAB program.
Basic commands
Fig 3: output
Conclusion
In this lab of DSP we have overcome with some basic commands in MATLAB and analyzed
the results
Rubrics
Student is Student can Student has Student has Student
Demonstration Absent
unable to understand followed constructed perfectly
Lab Manual Digital Signal Processing Name:Mohammad Salman
CMS ID: 49060
Correctly
drawn
Plagiarized Requirements Observations Appropriate
conclusion
content are listed and are recorded computations
Laboratory Report not with
presented or experimental along with or numerical
Reports submitted exact results
incomplete procedure is detailed analysis is
and complete
submission presented procedure performed
report in all
respects
Category Ungraded Very Poor Poor Fair Good Excellent
Percentage [0] [1-20] [21-40] [41-60] [61-80] [81-100]
Marks 0.0 0.01 - 0.20 0.21 - 0.40 0.41 - 0.60 0.61 - 0.80 0.81 - 1.0
Total Marks Instructor’s Signature