Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
create matrix 2 * 2 with value ranging from 1 to 3
Home
NumPy
create matrix 2 * 2 with value ranging from 1 to 3
+1
vote
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
create matrix 2 * 2 with value ranging from 1 to 3
numpy-matrix
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 8, 2021
by
rajeshsharma
create matrix 2 * 2 with value ranging from 1 to 3
arr = np.arange(0,4).reshape(2,2)
print(arr)
Related questions
+1
vote
Q: create matrix 2 * 2 with value ranging from 1 to 4
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
numpy-matrix
+1
vote
Q: create a matrix 3 * 3 with value ranging from 0 to 8
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
numpy-matrix
0
votes
Q: For a system with the transfer function H(s) = 3(s-2)/s^3+4s^2-2s+1 , the matrix A in the state space form is equal to:
asked
Oct 3, 2021
in
Control System
by
john ganales
control-system
+1
vote
Q: What is 2d indexing? define one ex : num = np.array([1,2,3],[4,5,6],[7,8,9])
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
2d-indexing
0
votes
Q: What is the determinant of the matrix A = \begin{pmatrix} 1 & 3 & 2 \\ 4 & 1 & 3 \\ 2 & 2 & 0 \end{pmatrix}⎝⎛142312230⎠⎞?
asked
Jan 23, 2020
in
Data Science
by
AdilsonLima
+1
vote
Q: What kind of matrix is A? A = \begin{pmatrix} 1 & 2 & 3 \\ 0 & 5 & 7 \\ 0 & 0 & 9 \end{pmatrix}
asked
Jan 20, 2020
in
Mathematics
by
sharadyadav1986
#upper-triangle-matrix
Mathematics-questions-answers
0
votes
Q: What will the following lines of code return x <- matrix(1:18, 6, 3) apply(x, 2, sum)
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
DataHandling-questions-answers
0
votes
Q: Consider the matrix A = \begin{pmatrix} 7 & 9 & -3 \\ 3 & -6 & 5 \\ 4 & 0 & 1 \end{pmatrix}⎝⎛7349−60−351⎠⎞. What is the value of minor M_{11}M11?
asked
Jan 23, 2020
in
Data Science
by
AdilsonLima
+2
votes
Q: How to print zeros with 2 rows and 3 columns ?
asked
Jul 3, 2021
in
NumPy
by
sharadyadav1986
print-numpy
0
votes
Q: Which of the following are valid examples of business value measures? 1: Customer retention 2: Time to market 3: Service Architecture 4: Market share
asked
Feb 14, 2020
in
Agile
by
matthenary
...