Honors Engineering models Bar Charts Review
Bar Charts
Bar charts are graphs of rectangular bars with the length of the bars
proportional to the value represented.
Bar charts can be used to represe
Honors Engineering models Quiz 2 review
Dataset arrays are 2-dimensional. You must specify row and column just like
indexing into a matrix.
> grade(1:2,1:5)
ans =
Name
HW1 HW2 HW3
HW4
'John'
80
78
85
Honors Engineering models quiz 1 review
Bar Charts
Bar charts are graphs of rectangular bars with the length of the bars
proportional to the value represented.
Bar charts can be used to represent d
Honors Engineering models
Pie Charts
A circular graph which is divided into sectors. The arc length of a sector
displays how much the item associated with that sector contributes to the
whole set.
Ve
Honors Engineering Models scatter plots review
Scatter Plots
Plot of individual data points of one variable vs. another.
Used to give a visual impression of how one variable might affect another
va
Honors Engineering models section 2 review
The expanded dataset array can be saved in a MATLAB data file (.mat file) or the
new columns can be added to the original excel file.
To save the expanded gr
Honors Enginering Models section 4 review
A few of the many applications for analyzing large sets of Data:
Predicting Catastrophic Weather early enough to allow safe evacuation or
preparation.
Monitor
Honors Engineering models section 6 review
Create a group scatter plot (grouped by airline) of delay time (y-axis) vs.
scheduled departure time (hour).
Problem: Departure Time is a string how do we ex
Honors engineering Models section 5 review
> F = dataset('xlsfile','CVG_FLIGHTS');
> F(1:5,:) % Display First 5 rows of the dataset
ans =
Carrier
Date
FlightNumber
Destination Depart
Delay
'DL'
'11/22
Honors Engineering Models section 3 review
Dataset arrays are 2-dimensional. You must specify row and column just like
indexing into a matrix.
> grade(1:2,1:5)
ans =
Name
HW1 HW2 HW3
HW4
'John'
80
78
Engineering models codec review
Suppose we consider any departure less than 15 minutes late acceptable to
customers. What percentage of Delta flights departed less than 15 minutes late?
> DL_Flights =
Engineering models links review
Substitute in the values for link lengths and desired gripper position using subs:
> L1 = 3; L2 = 2; x = 2.4; y = 3.2;
> f1 = subs(f1)
f1 =
12/5 = 2*cos(Th1 + Th2) + 3*
Engineering Models expressions review
Symbolic Expressions
The Subs Function
Example of Subs
> f = sym('2*x^2+4*x+5')
f = 2*x^2 + 4*x + 5
> x = 3; result = subs(f)
result = 35
% Plugs in 3 for x, re
Engineering models common error review
Common Error
Suppose we want to locate all of the Frontier flights that left on 11/23/13.
Dont split the two conditions like this:
> carrier_loc = find(strcmp(F
Engineering Models possible solution review
Two possible solutions:
Th1 = 82.0851o and Th2 = -75.5225o
Th1 = 24.1751o and Th2 = 75.5225o
Verify Results?
> x = L1*cosd(Th1(1) + L2*cosd(Th1(1)+Th2(1)
x
Engineering Models quiz 1 review
Using Symbolic Toolbox for
Trig Functions
Caution: When using symbolic toolbox for trig functions, always use the radian
functions (sin, cos, tan ). You cannot use th
Engineering models understanding review
Test Your Understanding
Take the quiz at end of Video A
The Solve Function
Examples of Solve
> f1 = sym('P*V = n*R*T')
f1 =
P*V = R*T*n
> T = solve(f1,'T')
T
Engineering models symbolic review
Symbolic Variables
The following variables can create difficulty in some of the symbolic toolbox
functions. Dont use them!
I and i
E and e
D
Any variable name that s
Engineering models robot review
Two link robot arm
Define a coordinate system by designating the base of the arm to be the
origin (0,0)
What are the x and y coordinates of the joint and the end (gripp