MATLAB Questions and Answers – Managing Variables

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Managing Variables”. 1. What will be the output when the following code is written in MATLAB? u=sin(10);v=pi;whos a) u and v are double with 8 bytes b) u and v are symbolic objects c) error d) u and v are double arrays 2. … Read more

advertisement

MATLAB Questions and Answers – Algebra

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Algebra”. 1. What is the difference between syms ‘x’ and sym ‘x’? a) there is no difference, they are the same functions b) they are equivalent c) syms ‘x’ makes the declaration long lasting while sym ‘x’ makes the declaration short lasting d) … Read more

advertisement

MATLAB Questions and Answers – Arithmetic – 2

This set of MATLAB Interview Questions and Answers focuses on “Arithmetic – 2”. 1. Round each value in a duration array to the nearest number of seconds greater than or equal to that value. t = hours(8) + minutes(29:31) + seconds(1.23); t.Format = ‘hh:mm:ss.SS’ t = 08:29:01.23 08:30:01.23 08:31:01.23 Y1 = ceil(t) Y2 = ceil(t,’hours’) … Read more

advertisement

MATLAB Questions and Answers – Arithmetic – 1

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Arithmetic – 1”. 1. What would be the output of the following code (in editor window)? A = [0 1; 1 0] ; B=2 ; C = A + B a) 1 2 4 5 b) 2 3 3 2 c) 3 2 … Read more

advertisement

MATLAB Questions and Answers – Input and Output

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Input and Output”. 1. MATLAB stands for? a) matrix laboratory b) math library c) matric library d) matrix library 2. Which command is used to clear a command window? a) clear b) close all c) clc d) clear all 3. To determine whether … 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.