Exam 15: Computational Engineering Tools: Matlab

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

To clear the contents of the Command Window, type:

Free
(Multiple Choice)
4.7/5
(38)
Correct Answer:
Verified

C

You can transfer old commands from the Command History Window to the Command Window.

Free
(True/False)
4.9/5
(44)
Correct Answer:
Verified

True

If you define x=2/3x = 2 / 3 , and then type format bank, how will the value of x be displayed?

Free
(Multiple Choice)
4.7/5
(35)
Correct Answer:
Verified

C

Suppose you have defined x=[1,2,3]x = [ 1,2,3 ] and y=[2,4,6]y = [ 2,4,6 ] in the Command Window. Determine the result of the following MATLAB operation: >>x+y> > x + y

(Multiple Choice)
4.9/5
(34)

If you define x=2/3x = 2 / 3 , and then type format long, how will the value of x be displayed?

(Multiple Choice)
4.7/5
(31)

What is the MATLAB command for calculating the square root of a number?

(Multiple Choice)
4.8/5
(26)

Suppose you have defined x=[1,2,3] and y=[2,4,6]x = [ 1,2,3 ] \text { and } y = [ 2,4,6 ] in the Command Window. Determine the result of the following MATLAB operation: >>Xy> > \mathbf { X } \cdot { } ^ { * } \mathbf { y }

(Multiple Choice)
4.8/5
(34)

Which of the following MATLAB commands would calculate the value of exe ^ { x } ?

(Multiple Choice)
4.8/5
(28)

If you define x=2/3x = 2 / 3 , and then type format short, how will the value of x be displayed?

(Multiple Choice)
4.7/5
(39)

Which of the following commands are commonly used while plotting in MATLAB?

(Multiple Choice)
4.8/5
(27)

If you define x=2/3x = 2 / 3 , and then type format rat, how will the value of x be displayed?

(Multiple Choice)
4.7/5
(33)

The part of the screen where you enter variables and issue MATLAB commands is known as the

(Multiple Choice)
4.9/5
(39)

To generate the set of x even numbers in the range of two to ten, what should you enter in the Command Window?

(Multiple Choice)
4.8/5
(33)

An M-file is used when you write a program that is more than a few lines long.

(True/False)
4.7/5
(29)

What is the MATLAB command for calculating standard deviation?

(Multiple Choice)
4.9/5
(33)
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)