issquare
Determines if x is a square matrix.
Syntax
R = issquare(x)
Inputs
- x
- Type: any input
Outputs
- R
- A logical 1 when x is a symmetric matrix, and 0 otherwise.
Example
Simple issquare example:
R = issquare(eye(10))
R = 1
Discover new features and enhancements.
New to Activate? Learn the basics here.
Start using Activate with our interactive tutorials.
Learn about the features and functionality available in Activate.
Explore the Extended Definitions, OML Guides, Block Library, API Guide and Glossary.
PDF file with in-depth information on key topics in the User's Guide.
OpenMatrix is a mathematical scripting language.
The Reference Guide contains documentation for all functions supported in the OpenMatrix language.
Returns a matrix with rows and columns of roughly equal magnitude.
Solve a system of linear equations with the biconjugate gradient stabilized method.
Cholesky decomposition.
Compute the condition number of a matrix.
Return the complex conjugate.
Convolution of two vectors.
Compute 2D convolution.
Vector cross product.
Matrix transpose.
Compute the matrix determinant.
Vector dot product.
Eigen decomposition.
Creates a fully populated matrix from sparse.
Solve a system of linear equations with the generalized minimum residual method.
Computes the Hankel matrix.
Compute the inverse matrix.
Determines if the input is a banded matrix.
Determines if the input is a diagonal matrix.
Hermitian matrix test.
Determines if an input is a matrix with sparse storage.
Determines if x is a square matrix.
Symmetric matrix test.
Determines if the input is a lower triangular matrix.
Determines if the input is a upper triangular matrix.
Kronecker matrix product.
Solve a linear system of equations.
LU decomposition.
Finds the number of non-zero values in a matrix.
Compute matrix and vector norms.
Solve a system of linear equations with the preconditioned conjugate gradient method.
Compute the matrix pseudo-inverse.
QR decomposition.
Compute the rank of matrix A.
Compute the 1-norm estimate of the reciprocal condition number.
Schur decomposition.
Sparse matrix creation.
Sparse identity matrix creation.
Set non-zero matrix elements to 1.
Singular value decomposition.
Computes the Toeplitz matrix.
Compute the trace of a matrix, the sum of the diagonal elements.
Matrix transpose.
Returns a lower triangular matrix.
Returns a upper triangular matrix.
Describes all of the blocks in the installed Activate library.
Provides information about developing and simulating models through the Activate Application Program Interface.
Key terms associated with the software.
You've got questions? We've got answers!
Explore the Extended Definitions, OML Guides, Block Library, API Guide and Glossary.
The Reference Guide contains documentation for all functions supported in the OpenMatrix language.
Determines if x is a square matrix.
Determines if x is a square matrix.
R = issquare(x)
Simple issquare example:
R = issquare(eye(10))
R = 1
(c) Altair Engineering, Inc. All rights reserved.