Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What command do you use to find the size of a matrix in MATLAB?
It's a simple command that follows the matrix variable.
If matrix B has size 3x2, how many columns does it have?
Remember, the second number in size indicates columns.
What is the syntax for finding the size of a matrix in MATLAB?
Think about how you would access properties of A.
True or False: A matrix of size 5x1 has 5 rows and 1 column.
Pay attention to the order of rows and columns.
Given a matrix C with dimensions 6x3 and a matrix D with dimensions 3x4, can we multiply these two matrices? What would the dimensions of the product matrix be?
Look at the inner dimensions. They're the key!
If you have a matrix A of dimensions 5x2 and you try to add it to a matrix B of dimensions 5x5, will the operation succeed? Explain your reasoning.
Consider the compatibility of dimensions for addition.
5 more questions in this section. Enroll free to practise them all.
Enroll free