operators-matrix
Programming
Matrix-specific operators. A' is conjugate transpose (ctranspose). A.' is non-conjugate transpose. A \ b solves the linear system Ax = b (equivalent to inv(A)*b but more numerically stable). Indexing: A(i,j) for element access, A(:,1) for entire column, A(end) for last element. Colon operator: start:end or start:step:end creates a range vector.
Syntax
A'
A.'
A \ b
A(i, j)
A(:, 1)
A(end)
1:10
1:0.5:10
Examples
See Also
Try SimLab — Free MATLAB® Alternative
466 functions. Runs in your browser. No install.
Open SimLab