How do I display symbolic matrix with square brackets instead of round brackets in Live Editor in MATLAB 9.6 (R2019a)?

I would like to display matrices with square brackets the following syntax can be generated.

 Accepted Answer

To display matrices with square brackets, You can use 'sympref' and set the 'MatrixWithSquareBrackets' preference to true.
sympref('MatrixWithSquareBrackets',true)

More Answers (0)

Products

Release

R2019a

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!