MATLAB NEW EXAM WITH COMPLETE SOLUTIONS
LATEST UPDATE
what does matlab stand for? - ANSWER matrix labratory
what must you create if you want to create a list of commands? - ANSWER you must
create a script or M-file
what does "clc" stand for? - ANSWER clear all commands
What does MATLAB handle all numbers as? - ANSWER floating point numbers
what does "whos" command do? - ANSWER tells you what variables have been defined
in the workspace
When MATLAB reads/writes information, through what window? - ANSWER the current
folder is used
T/F Can variables in MATLAB be named the same as built in functions? - ANSWER true
What is the "which" command and what is it used for? - ANSWER it allows you to check
whether or not your variable name is the same as a built in MATLAB function
Does MATLAB read white space? - ANSWER no
define exponent overflow - ANSWER exponent overflow is when a number is above the
MATLAB data range
, what does a variable that is above the acceptable matlab data range appear as? -
ANSWER inf
define exponent underflow - ANSWER exponent underflow occurs when a number is
divided by zero
3/0 will return what? - ANSWER inf
name how to use the linspace() command - ANSWER (initial value, final value, number of
values you want)
what is the function of the linspace() command? - ANSWER the command returns a
specified quantity of numbers evenly spaced between the initial and final values
specified in the command
How does matlab process a matrix that is being called with numbers? - ANSWER as a
single column matrix where the numbers represent different elements
In MATLAB is it valid to have an empty matrix? - ANSWER yes it is valid to have an empty
matrix
While you write a variable in scientific notation with MATLAB watch out for - ANSWER it
has to be ensured that blanks are omitted between mantissa and exponent.
MATLAB expression "6.02 e23" read as - ANSWER 6.02 and 10^23
What does "format long" do? - ANSWER displays 14 points past the decimal
how does matlab print integers? - ANSWER as integers
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Easton. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $14.99. You're not tied to anything after your purchase.