% Chapter 2 Basics, Chapter 3 Distinctive Features to Matlab, and
% Chapter 4 Arithmetic
echo on
%EE202 Homework 1
%Textbook Chapters 2 to 4
%My Name
%Lab Wed 11:00 to 1:50 pm
%[2.2 page 31] This text file was created by entering:
format compact
diary ee2
% Chapter 5 Matrices
format compact
%The norm function returns the magnitude of a vector. This function can be
%employed to check if two matrices are equal by finding the norm of the
0ifference of the two matrices (ex. norm(a - b) if the answer is 0 the
%
EE202 Lab#8 Part 2
Numerical Methods II
[12.2] Matlab includes a number of functions that solve ordinary differential equations of the form
numerically. In order to solve higher-order differential equations (and systems of differential equations)
they mus
EE202 Lab#8 Part 1
1.
Numerical Methods
[11.1] Make a new M-File named pistonCylinder as define in Appendix A (points will be
deducted if you do not include the header instructions and comments). Add the following
comment at the beginning of your script.
EE202 Lab#2
These problems are for the most part derived from the examples in the text (Higham & Higham) from
Chapter 5 Matrices.
Creating Matrices
1. [5.1] Enter the following examples.
a. Spaces or commas separate entries in a row. Try both ways of crea
EE202 Lab#5
Lab Format:
i.
Summarize the question, delimited by a row of stars (*)
ii.
Write the Matlab code from your M-file, diary, or command window. Be sure to
suppress the output of intermediate values using the semicolon (;).
iii.
Paste into Word yo
EE202 Lab#10 Interactive Simulink Tutorial Part 2
Modeling Transfer Functions
Follow along with this interactive tutorial on Simulink. After watching each interactive tutorial
section, please do the example in Simulink. Along the way take snap-shots of yo
EE202 Lab#9 Interactive Simulink Tutorial
Essential skills for modeling dynamical systems in Simulink
Follow along with this interactive tutorial on Simulink. After watching each interactive tutorial
section, please do the example in Simulink. Along the w
EE202 Lab#4
1. [6.1, 8.1] The altitude of a rocket (in meters) as a function of time from launch, can be
modeled by the following equation:
a = 2.13t2 0.0013t4 + 0.000034t4.751
Create a row vector of time from 0 to 100 at 2-second intervals.
(a) Use the f
Linear Algebra and Solving Linear Systems using MATLAB
By Gary Hill
An Introduction to Linear Algebra
In Algebra I you learned to solve the equation
equation by 2 and recognizing that 2/2 = 1
for variable X by dividing both sides of the
You have also lear
EE202 Lab#7
Input and Output
Input and Output
Although not covered in class, as part of the lab we will be covering Chapter 13 Input and Output
from your textbook. This is a short Chapter 13 of only 5 pages.
1. [13.2] Make a new M-File named helloWorld. A
EE202 Lab#6
3D Graphics
How to Copy your Figures to Word
1. Save your graph in a format than can be imported into Word (e.g., bmp, jpeg).
2. To save time you can simple Select Edit => Copy Figure and paste directly into Word. When you
turn in your lab ple
Keeping a Record of Your Work
Source: http:/www.scribd.com/doc/8961410/Matlab-An-Introduction-to-Matlab Chapters 9, 10, and 13
Method 1
1. Copy (CTRL-C) and Paste (CTRL-V) from Matlab to Word. To copy a figure
2. Select Edit / Copy Figure in Matlab and Pa