LabA solutions1 -...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: --------------------------------------------------------------% PROBLEM 3-A.1clc, clearangle = 45 % degreesangleRad = angle * (pi/180) % radians% student then resets angle, and runs the line setting angleRad% from the history window% --------------------------------------------------------------% PROBLEM 3-A.2clc, clearx = 5 % indep vary = x - 5 % dep varz = 3*y^2 - 16*y + 74 % dep var% student resets x, then recomputes y and z using the% history window% --------------------------------------------------------------% PROBLEM 3-A.4% A scalar in MATLAB is a simple number; one number. A vector in% MATLAB is a linear (1-D) group of numbers. An array in MATLAB is% a table (2-D) of numbers. In science and engineering theory, a% vector is an entity that has both magnitude and direction, like% velocity. The corresponding scalar to the velocity vector is% called speed. There is a table like entity in science and% engineering theory called a tensor, but that is beyond the scope% of this book....
View Full Document

Page1 / 3

LabA solutions1 -...

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

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