Question - 1
What does Matlab stand for?
- Matrix Laboratory
- Math Laboratory
- Mathworks
- Matrix library
Solutions
Answer- A
Question - 2
In Matlab, (.*) is used for ___.
- Getting all element from an Array
- multiplying two Arrays
- Adding two Arrays
- None of these
Solutions
Answer- B
Question - 3
Which of the following command lists the current variable in Matlab?
- Pwd
- Who
- Ckd
- None of these
Solutions
Answer- B
Question - 4
The output of cat=['a' 'b'] is
Answer- A
Question - 5
What does num2str command work?
- converts a number to string
- converts string to a number
- concatenates numbers and strings
- concatenates strings
Solutions
Answer- A
Question - 6
Logical Operator any is used in MATLAB for what operation?
- True if all element are non-zero
- True if all element are zero
- True if any element is non-zero
- True if any element is zero
Solutions
Answer- C
Question - 7
Which Matlab command allows you to evaluate a polynomial function by supplying the polynomial coefficients and the independent value(s)?
- polyval
- eval
- polyfit
- None of these
Solutions
Answer- A
Question - 8
Which of the following Matlab command clears all data and variables stored in memory?
- Delete
- clear
- clc
- None of these
Solutions
Answer- C
Question - 9
Determine the value of a y=[0 2 0 -2 0]; a=trapz (x,y);
Answer- C
Question - 10
The standard inputs for the loglog command are
- (x,y)
- (log(x), y)
- (log(x),log(y))
- (log10(x),log10(y))
Solutions
Answer- C
Question - 11
Which is not a pre-defined variable in Matlab.
Answer- D
Question - 12
The MATLAB command shown below will assign what value to the variablec? c = sin(pi)
- Some number that is not 0,-1,1
- 0
- 1
- -1
Solutions
Answer- A
Question - 13
Which of the following will correctly define x, y, and z as symbols?
- sym (x, y, z)
- syms x y z
- syms x, y, z
- sym x y z
Solutions
Answer- B
Question - 14
In Matlab, this keyword immediately moves to the next iteration of the loop
- update
- break
- continue
- goto
Solutions
Answer- C
Question - 15
Characters in Matlab are represented in their value in memory
- ASCII
- decimal
- Hexadecimal
- Octal
Solutions
Answer- A
Question - 16
What does Matlab stand for?
- Math Laboratory
- Matrix Laboratory
- Mathworks
- None of these
Solutions
Answer- B
Question - 17
What symbol precedes all comments in Matlab?
Answer- D
Question - 18
Which Keys combition used to stop execution of a command in MATLAB?
- ctrl+c
- ctrl+s
- ctrl+z
- ctrl+e
Solutions
Answer- A
Question - 19
What is the return type of angles function in MATLAB ??
- Degrees
- Radians
- Radians & Degrees
- None of these
Solutions
Answer- B
Question - 20
Index of an Array in Matlab starts with __.?
- 0
- 1
- Depends On type of array
- -1
Solutions
Answer- B
Practice more set questions