Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
20 Cards in this Set
- Front
- Back
This Matlab command clears all data and variables stored in memory:
A. cle B. clear C. delete D. deallocate |
B. clear |
|
Characters in Matlab are represented in their value in memory. A. decimal B. ASCII C. hex D. string |
B. ASCII |
|
Which is these is not an aspect of a for/while loop: A. update B. initialization C. runner D. condition |
C. runner |
|
To better manage memory and prevent unnecessary memory allocations, Matlab uses: A. vectors B. scalars C. matrix math D. delayed copy |
D. delayed copy |
|
April 2023: In Matlab, this keyword immediately moves to the next iteration of the loop: A. update B. goto C. continue D. break |
C. continue |
|
Sept 2023: Which of the following will correctly define x, y, and z as symbols? A. sym (x, y, z) B. syms x y z C. syms x, y, z D. sym x, y, z |
B. syms x y z |
|
Which of these is the way to access the first element in a vector named v (assuming there is at least one element in the vector)? A. v(0) B. v(1) C. V D. v(:, 0) |
B. v(1) |
|
What is the value of ans that is printed when the following code is run: isnumeric(32) A. 1 d. 0 C. 32 D. yes |
A. 1 |
|
To add a comment to the mfile, the MATLAB command is A. % B. ; C. comment(*') D. & |
A. % |
|
When used in the fprintf command, the %g is used as the A. single character display B. fixed point display C. string notation display D. default number display |
D. default number display |
|
When used in the fprintf command, the \n is used to A. add a space between any two characters B. add a line space (enter key) C. place a number into the comment D. clear the comment |
B. add a line space (enter key) |
|
The cle command is used to A. clear the command window B. erase everything in the mfile C. clean the desktop D. save the existing mfile |
A. clear the command window |
|
To join one or more strings into a single string is known A. concatenation B. joining C. string conversion D. string theory |
A. concatenation |
|
The output of cat=['cat' 'dog'l A. catdog B. cat dog C. cat&dog D. CatDog |
A. catdog |
|
Which of the following commands is used to calculate the mean of a matrix in MATLAB? A. mean B. avg C. average D. matmean |
A. mean |
|
Which of the following commands is used to calculate the standard deviation of a matrix in MATLAB? A. stadev B. stdev C. std D. deviation |
C. std |
|
April 2023: How to stop the execution of a chain of commands? A. Press ctrl + C B. Cannot be stopped. C. Only usage of debugging mode is possible in MATLAB D. Abort |
A. Press ctrl + C |
|
Which of the following commands is used to calculate the transpose of a matrix in MATLAB? A. transpose B. trans C. t D. tr |
C. t |
|
April 2023: _____ is not a pre-defined variable in Matlab. A. inf B. pi C. i D. gravity |
D. gravity |
|
What does MATLAB stand for? A. Math Analysis Language Tool B. Matrix Analysis Language Tool C. Mathematical Analysis Language D. Matrix Laboratory |
D. Matrix Laboratory |