MATLAB Test 1 Questions And 100% Correct Answers
Which of the following can you use to create a row vector? - ANSWER Commas or
spaces between the numbers
Which of the following can you use to create a column vector? - ANSWER Linefeeds or
semicolons between the numbers
Which of these is NOT a way that you can import data into MATLAB? - ANSWER None of
these
Which of the following data type is the default in MATLAB? - ANSWER The double
precision floating point number defined by Standard 754 from the IEEE
Which of the following options would be used to develop a row Vector? - ANSWER
commas or spaces between numbers
Which of the following options would be used for developing a column vector? -
ANSWER Linefeeds or semicolons between numbers
The colon operator can be used to generate a row vector starting at 0 and ending at 4
with increment of 1.5. - ANSWER True
Which is the proper application of linespace? - ANSWER linspace(0,pi/4,50)
Which is the proper application of logspace? - ANSWER logspace(0,3,4)
There are two vectors x and y, both equal in lengths. What would you type in to plot a
Basic X-Y plot? - ANSWER plot(x,y)
Which of the following can you use to create a row vector? - ANSWER Commas or
spaces between the numbers
Which of the following can you use to create a column vector? - ANSWER Linefeeds or
semicolons between the numbers
Which of these is NOT a way that you can import data into MATLAB? - ANSWER None of
these
Which of the following data type is the default in MATLAB? - ANSWER The double
precision floating point number defined by Standard 754 from the IEEE
Which of the following options would be used to develop a row Vector? - ANSWER
commas or spaces between numbers
Which of the following options would be used for developing a column vector? -
ANSWER Linefeeds or semicolons between numbers
The colon operator can be used to generate a row vector starting at 0 and ending at 4
with increment of 1.5. - ANSWER True
Which is the proper application of linespace? - ANSWER linspace(0,pi/4,50)
Which is the proper application of logspace? - ANSWER logspace(0,3,4)
There are two vectors x and y, both equal in lengths. What would you type in to plot a
Basic X-Y plot? - ANSWER plot(x,y)