MATLAB Questions and Answers – Plotting Multiple Curves

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Plotting Multiple Curves”. 1. A student has created a plot of y(t)=t2. He is need to show another graph of z(t)=t3 in the same plot. But every time he hits the plot() function- MATLAB generates a plot of z(t) vs t but on … Read more

advertisement

MATLAB Questions and Answers – Statistics

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Statistics”. 1. To exhibit time-series or spatial-series data, what kind of diagrams are suitable? a) Pie-bar b) Pie-chart c) Ratio-chart d) Bar-diagram 2. What is the output of the following line of code? Pie([1,2],[0,1,1]) a) Error b) Sliced pie chart c) Pie-chart d) … Read more

advertisement

MATLAB Questions and Answers – Graphics

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Graphics”. 1. What are the functions to see the graph of a continuous and a discrete function? a) plot() & stem() b) cont() & disc() c) plot() & disc() d) cont() & stem() 2. Find the error in the following code. x=-10:1:10; y=-10:2:10; … Read more

advertisement

MATLAB Questions and Answers – Functions

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Functions”. 1. What is the name of a primary function? a) Name of M-file b) Name of Script File c) Name of Help file d) Name of Private-File 2. Predominantly, what are the two kinds of errors in MATLAB programs? a) Syntax and … Read more

advertisement

MATLAB Questions and Answers – Vectors and Matrices – 2

This set of MATLAB Interview Questions and Answers for freshers focuses on “Vectors and Matrices – 2”. 1. What is the output of the following code? A=[1 2 3.. ]; a) The output is suppressed b) A row vector c) A row vector concatenated with a null matrix d) Error 2. What is the output … Read more

advertisement

MATLAB Questions and Answers – Vectors and Matrices – 1

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Vectors and Matrices – 1”. 1. Vectors depend upon brackets while scalars don’t. a) True b) False 2. How many errors will MATLAB show if the following code entered? A=[1;2;3]; B=[1 2]; C=A.*B;D=C*A; a) 2 b) 1 c) No error d) 4 3. … Read more

advertisement

MATLAB Questions and Answers – Solving Equations

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Solving Equations”. 1. What is the syntax to solve simultaneous equations easily? a) solve[“equation-1”,”equation-2”]; b) sol[“equation-1” “equation-2”]; c) sol[‘equation-1’‘equation-2’]; d) solve[‘equation-1’,‘equation-2’]; 2. An employer has to minimize the number of lines in a program while writing the code for a purpose. If the … Read more

advertisement

MATLAB Questions and Answers – Variables and Assignments

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Variables and Assignments”. 1. Which function is preferable to find the magnitude of a complex number? a) abs() b) sqrt() c) cart2pol() d) MATLAB does not support complex arguments 2. Which is an escape sequence constant? a) Esc b) /n c) \b d) … Read more

advertisement

MATLAB Questions and Answers – Errors in Input – 2

This set of MATLAB Questions and Answers for Freshers focuses on “Errors in Input – 2”. 1. What is the output of the following code? isvector((49 32)); a) Error in () b) Error due to absence of comma c) Error due to command d) Logical 1 2. What is the output of the following code? … Read more

advertisement

MATLAB Questions and Answers – Errors in Input – 1

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Errors in Input – 1”. 1. What will be the output of the following code? A=sim(pi)+cod(pi) a) A=-1 b) Undefined function or variable ‘cod’ c) Undefined function or variable ‘sim’ d) Undefined function or variable ‘sim’ and ‘cod’ 2. What is the output … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.