• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 19 pages
Exam (elaborations)

Matlab Exam With Complete Solutions 100% Correct

Document preview thumbnail
Preview 3 out of 19 pages

MATLAB EXAM WITH COMPLETE SOLUTIONS 100% CORRECT...

Content preview

MATLAB EXAM WITH COMPLETE SOLUTIONS 100%
CORRECT


MATLAB was developed in the late 195's - ANSWER False - 1970



MATLAB is a high-level language that is exceptionally good at producing extremely
fast-executing programs - ANSWER False - supports scientific and engineering
computations



abstraction - ANSWER the evolution of computer language is driven by a process
___________.



interpreter - ANSWER will directly read a high-level statement written in the
programming language, execute the operation specified by that statement, then read
the next statement, and so on.



clc - ANSWER Clears the command window. Does not affect the workspace, meaning
variables are unchanged

clear - ANSWER clears all variables from the workspace, meaning all variable values are
lost.



diary - ANSWER Records into a file almost everything that appears in the command
window. The file's name is chosen by programmer, such as "my session.txt". "diary off"
ends the recording



exit - ANSWER exits the MATLAB session



who - ANSWER Prints all variables in the current workspace

,whos - ANSWER Prints all variables in the current workspace as well as some extra
information about their size, bytes, class, etc



ctrl-c - ANSWER Not a MATLAB command, but this key stroke combination stops an
infinite MATLAB calculation that a programmer has mistakenly entered. Subsequently,
the programmer may enter a new command.



assignment statement - ANSWER like age = 20;; when it is executed it takes the value
that is on the ='s right side and writes it into the variable that is on the ='s left side.



assignment operator - ANSWER The '=' is kn own as the ______.



identifier - ANSWER A variable's name is called an ______.



keywords - ANSWER break, else, global, return, case, else if, if, epode,catch, end,
otherwise, switch, classdef, for, parlor, try, continue, function, persistent, while



numeric variable - ANSWER stores a number



integer number - ANSWER positive or negative number that does not have a fractional
part



real number - ANSWER positive or negative number that may have a factional part



signed integer - ANSWER represents both positive and negative integer values



unsigned integer - ANSWER represents only non-negative integers.



signed 8-bit integer - ANSWER int8

, signed 32-bit integer - ANSWER int32



unsigned 16-bit integer - ANSWER uint16



Floating point number - ANSWER MATLAB stores a real number as a _______.



literal constant - ANSWER a number that appears in a statement



True - ANSWER The default MATLAB floating-point representation can represent
various numbers from -1.79e+308 to +1.79e+308.



pi - ANSWER The ratio of a circle's circumference to its diameter, about 3.1415.



i - ANSWER imaginary unit equal to sqrt(-1)



j - ANSWER Imaginary unit equal to sqrt(-1), same as i



Inf - ANSWER Infinity



NaN - ANSWER Not-a-Number



realmin - ANSWER smallest floating point number



realmax - ANSWER Largest floating point number



Overflow - ANSWER occurs when the result of a expression is larger than maximum that
can be stored within a variable.

Document information

Uploaded on
November 11, 2024
Number of pages
19
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$15.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Easton
3.9
(124)
Sold
605
Followers
221
Items
28026
Last sold
2 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions