Umal-qura university



Yüklə 0,73 Mb.
səhifə1/30
tarix23.12.2023
ölçüsü0,73 Mb.
#156716
  1   2   3   4   5   6   7   8   9   ...   30
Signal and Systems Manual - v2full




UMAL-QURA UNIVERSITY

College of Copmuter and Inforamtion Systesm


Computer Engineering Department
14032101-4


Signals and Systems Lab aMnual
Student Naem:

Student ID: _


Section: _ Group:




Session (Spring / Suemr / Fall)

This page is intentionally left blank



Lab # 1
OBJECTIVES OF THE LAB

‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐


Matlab will be used extensively in all the succeeding labs. The goal of this first lab is to gain familiarity with Matlab and build some basic skills in the Matlab language. Some specific topics covered in this lab are:

  • Introduction to Matlab

  • Matlab Environment

  • Matlab Help

  • Variable arithmetic

  • Built in Mathematical Functions

  • Input and display

  • Timing functions

  • Introduction to M‐files

‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐




    1. WHAT IS MATLAB?

MATLAB is a commercial "MATrix LABoratory" package, by MathWorks, which operates as an interactive programming environment with graphical output. The MATLAB programming language is exceptionally straightforward since almost every data object is assumed to be an array. Hence, for some areas of engineering MATLAB is displacing popular programming languages, due to its interactive interface, reliable algorithmic foundation, fully extensible environment, and computational speed.


    1. ENTERING AND RUNNING MATLAB

Double click on the MATLAB icon to launch and a command window will appear with the prompt:


>>
You are now in MATLAB. From this point on, individual MATLAB commands may be given at the program prompt. They will be processed when you hit the key. The following figure shows the screenshot of matlab.




    1. LEAVING MATLAB

A MATLAB session may be terminated by simply typing


>> quit or by typing
>> exit
at the MATLAB prompt.
    1. MATLAB HELP

Online help is available from the MATLAB prompt, both generally (listing all available commands). >> help


[a long list of help topics follows] and for specific commands:
>> help command_name
If you want to search for all the commands related to some particular functionality, use the keyword
lookfor followed by a keyword that explains the functionality.
>> lookfor convolution
will return a number of commands that perform convolution related tasks.
    1. VARIABLES

MATLAB has built‐in variables like pi, eps, and ans. You can learn their values from


the MATLAB interpreter.
>> eps

eps =

ans =
2.2204e‐16


>> pi 3.1416





      1. Yüklə 0,73 Mb.

        Dostları ilə paylaş:
  1   2   3   4   5   6   7   8   9   ...   30




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə