CIVE121 Study Guide - Quiz Guide: Delimiter, Row And Column Vectors, Trapezoidal Rule

27 views4 pages
Published on 27 Feb 2018
Course
20. Linear algebra problems
a. inv(a) inverses matrix a
b. dot(a,b) dot products vectors a and b
c. norm(a) finds the magnitude of vector a
d. det(a) finds determinate of matrix a
e. A\b solves the augmented matrix

and outputs column vector
21. Plotting
a. plot(xvector, yvector, format string) x and y vectors must be same size
b. axis([xlowerlim, xupperlim, ylowerlim, yupperlim]) or xlim and ylim, axis
equal, x/ylabel(‘string’) and title(‘string’)
c. \bf bolds and \it italics, _{subscript} and *{superscript}, grid on
d. hold on/off stops matlab from erasing previous plots
e. ‘markerfacecolor’, ‘color’, ‘markeredgecolor’, ‘color’, and ‘markersize’,
‘size’ modifies properties of markers
f. figure(#) to plot to different windows
g. subplot(rows, columns, zone) plots row by column # of plots and zone(index)
where indexes are row by row
h. loglog() produces graph where both axes are logarithmic
i. semilogx/y() products graph where only x or y axis is logarithmic
22. Symbolic math
a. syms x y declares x and y as symbolic variables, then we can create symbolic
functions with the normal (), +, -, *, /, and ^ commands
b. expand(f) expands the symbolic expression f
c. factor(f) factors the symbolic expression f
d. simplify(f) simplifies the symbolic expression f
e. pretty(f) makes the symbolic expression look good
f. ezplot(f, [min, max]) plots the symbolic expression f in the specified range
*functions for plot works with ezplot
g. ezplot(x, y, [min, max]) plots the parametric equations x and y
h. solve(f==0, x) solves the symbolic equation f for the variable x for where f == 0
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows page 1 of the document.
Unlock all 4 pages and 3 million more documents.

Already have an account? Log in

Get OneClass Grade+

Unlimited access to all notes and study guides.

Grade+All Inclusive
$10 USD/m
You will be charged $120 USD upfront and auto renewed at the end of each cycle. You may cancel anytime under Payment Settings. For more information, see our Terms and Privacy.
Payments are encrypted using 256-bit SSL. Powered by Stripe.