EE3210M1_0910SemA - City University of Hong Kong Department...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
City University of Hong Kong Department of Electronic Engineering EE3210 Lab 1: Introduction to MATLAB Verification: The Warm-Up section must be completed during your assigned lab time. The steps marked Instructor Verification must also be signed off during the lab time. When you have completed a step that requires verification, simply demonstrate the step to the instructor. Lab Report: You are NOT required to turn in a report for this lab. However, you are recommended to complete the Experiment section in order to get familiar with the use of MATLAB. _________________________________________________________________________________ 1 Background MATLAB is a sophisticated language that serves as a powerful tool to better understand a myriad of topics, including control theory, filter design, and of course, signals and systems. MATLAB’s flexible programming structure promotes rapid development and analysis. Outstanding visualization capabilities provide unique insight into system behavior and signal character. By exploring concepts with MATLAB, you will substantially increase your comfort with and understanding of course topics. 2 Warm-up 2.1 Getting Started MATLAB can be started by double clicking the MATLAB icon under Window XP environment. The following steps are useful for getting around under MATLAB. (a) View the MATLAB introduction by typing intro at the MATLAB prompt. This short introduction will demonstrate some basic MATLAB commands and their syntax. (b) Explore the MATLAB help capability. Try the following (it is possible to force MATLAB to display only one screen full of information simultaneously by issuing the command more on ): help help plot help colon help ops help zeros help ones lookfor filter %<--- keyword search
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
(c) Run the MATLAB demos. Type demo and explore some of the demos of MATLAB commands and MATLAB plotting facilities. (d) Use MATLAB as a calculator. Try the following: pi*pi - 10 sin(pi/4) ans ^ 2 %<--- "ans" holds the last result (e) Perform variable name assignment in MATLAB. Try the following: x = sin(pi/5); cos(pi/5) %<--- assigned to what? y = sqrt( 1 - x*x)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/22/2009 for the course ELECTRONIC EE3210 taught by Professor Sungchiwan during the Spring '09 term at École Normale Supérieure.

Page1 / 8

EE3210M1_0910SemA - City University of Hong Kong Department...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online