What will be the size of the resulting matrix C after executing the following commands? A = [1 2 3]; B = [4; 5; 6]; C = A’ * B;
Blog
Which of the following commands will create a row vector wit…
Which of the following commands will create a row vector with elements from 1 to 5 in MATLAB?
If W = [2 4 6 8 10 12], what will be the output of the comma…
If W = [2 4 6 8 10 12], what will be the output of the command W(2:4)?
Which of the following commands will generate a vector with…
Which of the following commands will generate a vector with elements from 1 to 10 in increments of 2?
What will be the output of the command C = 5:-1:1?
What will be the output of the command C = 5:-1:1?
For the matrix N = [10 20 30; 40 50 60], which command will…
For the matrix N = [10 20 30; 40 50 60], which command will return a matrix with the elements 20 and 50?
For the vector X = [1 3 5 7 9], which command will return a…
For the vector X = [1 3 5 7 9], which command will return a vector with the elements 3 and 7?
Given the vector W = [10 20 30 40 50], which command will re…
Given the vector W = [10 20 30 40 50], which command will return the indices of elements greater than 25 and less than 45?
If you want to create a vector with 5 equally spaced points…
If you want to create a vector with 5 equally spaced points between 3 and 15, which command would you use?
The Human Capital approach:
The Human Capital approach: