Explore topic-wise MCQs in MATLAB Questions and Answers.

This section includes 5 Mcqs, each offering curated multiple-choice questions to sharpen your MATLAB Questions and Answers knowledge and support exam preparation. Choose a topic below to get started.

1.

The output of int(x^2,1,3) and quad(‘x. ^2,1,3) is ________

A. Same
B. Different
C. Maybe different
D. Error
Answer» C. Maybe different
2.

How will ∫ex⁄x look like, in MATLAB?

A. Infinite series
B. expint(x)
C. ei(x)
D. Error
Answer» D. Error
3.

The capacitor voltage due to a current of i=t4with v(0+)=3 is found from using _________

A. ODE solver
B. int() command
C. quad() command
D. diff() command
Answer» B. int() command
4.

The code quad(‘x.^2’,-3,2) is same as ___________

A. quad(‘x.^2’,-2,3)
B. quad(‘x.^2’,-3,2)
C. quad(x.^2,3,-2)
D. quad(‘x^2’,-2,-3)
Answer» B. quad(‘x.^2’,-3,2)
5.

What will be the command to find the current through a 1H inductor (no initial current) whose voltage changes by v=t2?

A. int(‘t2’)
B. intg(‘t2’)
C. int(t2)
D. Cannot be determined
Answer» D. Cannot be determined