$25
1. Create a 2×5 matrix π with elements as random float numbers from 0 to 1. Print the rank of π.
Let π = πππ, find the shape and rank of π
Let π = πππ, find the shape and rank of π
2. Create a 3×5 matrix π with elements as random integers from 0 to 10, and find the dimension (shape) of π = πππ by coding;
Create a 3×1 column vector π° with elements as random integers from 0 to 10, and find the dimension of ππ° by coding;
Find the dimension of π°ππ by coding;
Find the dimension of π°πππ° by coding.
Find a way (by coding) to verify that πππ is symmetric.
Calculate π−1. Print π−1π and ππ−1.
3. Create a 5×1 column vector π± with elements as random float numbers from 0 to 1. Calculate π±π±π by coding. What do you think is the rank of π±π±π?
4. Create a 5×5 identity matrix π and print it.