adplus-dvertising
frame-decoration

Question

What will the following set of commands do when they are present in a script file?
stem[y1,y2];
title(ā€˜pā€™);
print -deps p

a.

Plot the discrete graph of y1 and y2

b.

There is no stem command in MATLAB

c.

Store the graph as a separate file

d.

Cannot be determined

Answer: (c).Store the graph as a separate file

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will the following set of commands do when they are present in a script file?

Similar Questions

Discover Related MCQs

Q. The function to close the windows containing graphs generated from MATLAB is __________

Q. What is not displayed by the Workspace?

Q. MATLAB allows modelling of different control systems using ___________

Q. How to stop the execution of a chain of commands?

Q. What are MEX files in MATLAB?

Q. How would you start a debugger in MATLAB?

Q. What is the extension of script files?

Q. What is the basic difference between M-files and MAT-files?

Q. What does the echo command do?

Q. How do you create a function file in MATLAB?

Q. A student is repeatedly calling a function file but gets no output. She has checked the file repeatedly so finally she asked her teacher about it. The teacher checked everything and finds the error and gives her a scolding. What is a silly mistake?

Q. A function is not returning values according to desired input values. What should be the correction?

Q. MEX files work on JAVA.

Q. What is the default increment value in a for-loop?

Q. A break statement will leave the outer loop.

Q. A for-loop can have multiple index values.

Q. There can be multiple decision variables for while loop.

Q. How do we break from an infinite loop without keeping a break statement within the loop?

Q. How would you plot multiple graphs in MATLAB?

Q. How do you show the program of an MAT file?