adplus-dvertising
frame-decoration

Question

Executing in the command window the following code returns.
a = [1:3]’ ;
size(a)

a.

error message

b.

1 3

c.

3 1

d.

31

Posted under MATLAB Basics MATLAB

Answer: (c).3 1

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Executing in the command window the following code returns.

Similar Questions

Discover Related MCQs

Q. Command is used to save command window text to file.

Q. To stop the execution of a MATLAB command, used keys?

Q. Which is the invalid variable name in MATLAB?

Q. What is the difference between syms ‘x’ and sym ‘x’?

Q. In the function vpa(‘9⁸¹’,10), why do we put 9⁸¹ within inverted commas?

Q. How would you simplify log(x²⁰) – log(x¹³) – log(x⁷) in MATLAB? (Assume x is defined as a string variable)

Q. What happens if we don’t assign a variable to an expression which evaluates a numerical value?

Q. MATLAB sees a ________ ordered variable as a vector of dimension n*1.

Q. Name the functions used, for multiplication and division of two polynomials in MATLAB.

Q. How can the formulation of polynomial be done from its roots?

Q. The function to evaluate the value of a polynomial,l for a constant value of the independent variable(say a) in the polynomial is ______

Q. What is the disadvantage of the whos function in MATLAB?

Q. What is the replacement for the whos function?

Q. What does the Workspace show?

Q. What is the size of double and symbolic variables holding integer constants?

Q. What is the difference between who and whos command?

Q. How would you express a pi as a character and an integer? Choose the correct code.

Q. The uniform distribution can range from -infinity to 0 or 0 to Infinity but not from -infinity to infinity.

Q. If a character input is given to a command which only takes integers, it’ll always give an error.

Q. Which function is preferable to find the magnitude of a complex number?