Question
a> P=[91,’pi’];
b> Q=[91,pi];
a.
Code a initialises P as a character array while code b initialises Q as an integer array
b.
Both P and Q will be integer arrays
c.
Code b initialises P as a character array while code a initialises Q as an integer array
d.
Both P and Q will be character arrays
Posted under MATLAB
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What is the difference between the two codes?
Similar Questions
Discover Related MCQs
Q. What kind of a plot is this?
View solution
Q. MATLAB stands for?
View solution
Q. Which command is used to clear a command window?
View solution
Q. To determine whether an input is MATLAB keyword, command is?
View solution
Q. Command used to display the value of variable x.
View solution
Q. Command is used to save command window text to file.
View solution
Q. To stop the execution of a MATLAB command, used keys?
View solution
Q. Which is the invalid variable name in MATLAB?
View solution
Q. What is the difference between syms ‘x’ and sym ‘x’?
View solution
Q. In the function vpa(‘9⁸¹’,10), why do we put 9⁸¹ within inverted commas?
View solution
Q. How would you simplify log(x²⁰) – log(x¹³) – log(x⁷) in MATLAB? (Assume x is defined as a string variable)
View solution
Q. What happens if we don’t assign a variable to an expression which evaluates a numerical value?
View solution
Q. MATLAB sees a ________ ordered variable as a vector of dimension n*1.
View solution
Q. Name the functions used, for multiplication and division of two polynomials in MATLAB.
View solution
Q. How can the formulation of polynomial be done from its roots?
View solution
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 ______
View solution
Q. What is the disadvantage of the whos function in MATLAB?
View solution
Q. What is the replacement for the whos function?
View solution
Q. What does the Workspace show?
View solution
Q. What is the size of double and symbolic variables holding integer constants?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond MATLAB? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!