Posts
Given a vector x = [3, 1, 4] and integer number n = 5, create matrix y containing n-times x(1) in 1st Row , n-times x(2) in 2nd Row and so on….then covert this matrix into row vector V.
Given a vector x = [3, 1, 4] and integer number n = 5, create matrix y containing n-times x(1) in 1st Row , n-times x(2) in 2nd Row and so on….then covert this matrix into row vector V.
- Get link
- X
- Other Apps
Make an n × n random matrix a) calculates its inverse b) Multiply the two back together c) calculates the residual (difference from the desired n × n identity matrix eye(n))
Make an n × n random matrix a) calculates its inverse b) Multiply the two back together c) calculates the residual (difference from the desired n × n identity matrix eye(n))
- Get link
- X
- Other Apps
Given the same matrix m = [1 2 3; 2 1 5; 4 6 4; 2 3 2], create matrix n with rows sorted in a descending order of elements in the second column.
Given the same matrix m = [1 2 3; 2 1 5; 4 6 4; 2 3 2], create matrix n with rows sorted in a descending order of elements in the second column.
- Get link
- X
- Other Apps
Create vector “s “containing elements of ‘x’ sorted in an ascending order. Clear x from the workspace. From s create back a vector with the same elements and in the same order as in x.
Create vector “s “containing elements of ‘x’ sorted in an ascending order. Clear x from the workspace. From s create back a vector with the same elements and in the same order as in x.
- Get link
- X
- Other Apps
Create a matrix of 3 by 3 with all ones, then Create matrix of 8 by 1 with all zeros, finally Create a matrix of 5 by 2 with all elements equal to 0.37.
Create a matrix of 3 by 3 with all ones, then Create matrix of 8 by 1 with all zeros, finally Create a matrix of 5 by 2 with all elements equal to 0.37.
- Get link
- X
- Other Apps
- Get link
- X
- Other Apps