In: Computer Science
In MATLab,
5.Which command enables the use of different axes on the left and right of a plot?
1. |
plot |
|
2. |
plotyy |
|
3. |
semilogx |
|
4. |
loglog |
|
5. |
surfc |
6. MATLAB is primarily used for ?
Financial Modeling |
||
CAD drawings |
||
Scientific and engineering data analysis, modeling and simulation |
||
It is specific for engineering applications only |
8. How would you access every even row in a 10 x 10 matrix B?
1. |
B( 2: 2: 10, : ) |
|
2. |
B( 1: 2: 10, : ) |
|
3. |
B( : , 2: 2: 10) |
|
4. |
B(2: 10, : ) |
|
5. |
B(2: 2: 10) |
10. What command allows the user to adjust the min and max of the axes?
1. |
lim |
|
2. |
axis |
|
3. |
axislimits |
|
4. |
can only be done via the plot command |
16. Which key(s) allow you to recall a previous command?
1. |
U for up and D for down |
|
2. |
The up and down arrow keys |
|
3. |
Enter |
|
4. |
Tab |
21. What does ‘…’ mean when found at the end of a line when using the MATLAB editor?
1. |
Makes the words following the ‘…’ a comment |
|
2. |
Indicates the command should use default settings for subsequent parameters |
|
3. |
Indicates a continuation of the command onto the next line, treating it as if it were entered onto one line |
|
4. |
Causes MATLAB to quit |
23. The property ‘FontSize’ enables?
1. |
Setting the size of the font in points |
|
2. |
Setting the font to bold |
|
3. |
Setting the font type |
|
4. |
Setting the font one point larger than it’s current size |
ANSWER -
5) (2) Plotyy
Plotyy command is used in matlab to create plots of data set and use both left and right axes.
6) (3) Scientific and engineering data analysis, modeling and simulation
The primary use of matlab is modelling, data analysing, simulation, programming , visualization etc
8) (5) B(2:2:10)
To access even row we use 2:2 and to access even row in a 10x10 matrix we use 2:2:10
10) (3) axislimits
Axis limits command is used in matlab to specify and adjust the minimum and maximum of the axes.
16) (2) The up and down arrow keys
This operation recalls the previously entered commands.
21) (3) indicates the continuation of the command in next line
‘…’ the three dot command indicate that the code on the given line is continued onto the next line.
23) (1) Setting the size of the font in points
Font size in matlab is used for specifying the size of font in which the string is to be displayed.
=================================END===============================
Please comment if u need any more info. Please do leave a like, it would mean a lot. Thanks :)