0% found this document useful (0 votes)
118 views9 pages

Esas Matlab

Uploaded by

Arjay Barnedo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
118 views9 pages

Esas Matlab

Uploaded by

Arjay Barnedo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 9

Title 5.

ESAS (MATLAB)
Description
Duration 60
Keywords
section material
question
What does Matlab stand for?
What symbol precedes all comments in Matlab?
Which of the following is not a pre-defined variable in Matlab
This Matlab command clears all data and variables stored in memory
Characters in Matlab are represented in their value in memory
Which is these is not an aspect of a for/while loop
To better manage memory and prevent unnecessary memory allocations, Matlab uses:
To print a newline in a fprintf statement, you must use the following escape character l
In Matlab, this keyword immediately moves to the next iteration of the loop
Which of the following will correctly define x,y, and z as symbols?
Which of the these is the way to access the first element in a vector named v (assuming there is at least one element in the ve
Which of the following is used to see of two elements are equal in MATLAB?
If vector = [1 2 3 4; 11 24 92 100; 345 65 90 1]. What will the value of a be equal to if this code is entered into Matlab >> [ a b
What is the value of ans that is printed when the following code is run: isnumeric(32)
If I want to save a formatted string to memory, but don’t want to print it out, which command should I use?
When used in the fprintf, the %g is used as
When used in the fprintf command, the \n is used to
To display ‘Question 2’ in the command window, the correct command is
The clc command is used to
The num2str command

To join one or more strings into a single string is known as


is
Which functions help you to save and load variables?
To display comments of M-file, we use ______
Where do we need to store a function to call it in other programs?
What are the difference between the ‘help’ and the ‘look for’ command?
print -deps l
The function to close the windows containing graphs generated from MATLAB is
What is not displayed by the workspace?
MATLAB allows modelling of different control systems using ______
How to stop the execution of a chain of commands?
What are MEX files in MATLAB?
Explain what is MATLAB? Where MATLAB may be applicable?
What does MATLAB consist of?
To add a comment to the mfile, the Matlab command is
no type

g there is at least one element in the vector)?

is code is entered into Matlab >> [ a b ] = size (

mand should I use?


option1
Mat laboratory

Gravity
clc
Decimal
Update
Vectors
\t
update
sym (x,y,z)
v(0)
==
1234
1
fprintf
Single character display
add a space between any two characters
disp(Question 2)
Clear the command window
Converts a number to string
cat2
Concatenation
catdog
>> load (‘myfile.mat’)
echo on
The bin folder
No difference
Plot the discrete graph of y1 and y2
Close all
Time of variable generation
Simulink
Press ctrl + c
No such thing as MEX files
MATLAB is a high-level programming language with an interactive surroundings for visualization, n
Matlab application program interface (API)
%
option2
Matrix laboratory
%
Pi
Clear
ASCII
Initialization
Scalars
\nl
goto
syms x y z
v(1)
!=
12
0
sprintf
Fixed point display
Add a line space (enter key)
display(‘Question 2’)
Erase everything in the mfile
Converts string to a number
cat 2
Joining
cat dog
>> load myfile.mat
comment on
Anywhere
Syntactical difference
There is no stem command in MATLAB
Close graphs
Standard deviation of the variable values
Control system Tollbox
Cannot be stopped
Helps to analyse commands in MATLAB
MATLAB can be applicable at numerous times like allows matrix manipulation

;
option3
Mathworks
//
Inf
Delete
Hex
Runner
Matrix Math
\nxt
continue
syms x, y, z
v
isequal
1
32
disp
String notation display
Place a number into the comment
disp(‘Question 2’)
Clean the desktop
Concatenates numbers and strings
??? Undefined function or variable ‘as’
String conversation
cat&dog
>> load (myfile.mat)
show %
The MATLAB folder
Help returns the entire set while look for returns specific commands
Store the graph as a separate file
Delete graphs
Class of the variables
Not available in MATLAB as of yet
Only usage of debugging mode is possible in MATLAB
Allows the user to combine C source files with MATLAB files
Interfacing with packages written in other languages (C ++, C, Java and Fortran)

comment (“)
option4
None of the above
None of the above
I
Deallocate
String
Condition
Delayed copy
\n
break
sym x, y, z
v(:,0)
=
3
Yes
echo
Default number display
Clear the comment
Question 2
Save the existing mfile
Concatenates string
cat aa
String theory
CatDog
>> load (‘myfile.mat’)
Cannot be displayed
Desktop
Help returns all the toolbox while look for the returns single toolbox
Cannot be determined
End all
Nature of the variables
Ezplot
Quit
Same as MAT files
Develop set of rules

&
explanation

There is a pre-defined function in MATLAB to store the variable values from your workspace permane

name matches with the keyword entered


answer1 score1
2 0.0
4 0.0
1 0.0
2 0.0
2 0.0
3 0.0
4 0.0
4 0.0
3 0.0
2 0.0
2 0.0
1 0.0
4 0.0
1 0.0
2 0.0
4 0.0
2 0.0
3 0.0
1 0.0
1 0.0
1 0.0
1 0.0
1 0.0
4 0.0
1 0.0
1 0.0
3 0.0
3 0.0
1 0.0
1 0.0
1 0.0
1 0.0
3 0.0
1 0.0
1 0.0
1 0.0

You might also like