How do I display symbolic matrix with square brackets instead of round brackets in Live Editor in MATLAB 9.6 (R2019a)?
67 views (last 30 days)
Show older comments
MathWorks Support Team
on 25 Nov 2019
Edited: MathWorks Support Team
on 13 Jul 2020
I would like to display matrices with square brackets the following syntax can be generated.
Accepted Answer
MathWorks Support Team
on 13 Jul 2020
Edited: MathWorks Support Team
on 13 Jul 2020
To display matrices with square brackets, You can use 'sympref' and set the 'MatrixWithSquareBrackets' preference to true.
sympref('MatrixWithSquareBrackets',true)
0 Comments
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!