How to display square root symbol instead of decimal.
199 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
sunyi
am 31 Jan. 2023
Beantwortet: Walter Roberson
am 31 Jan. 2023
The number of display format does not include the square, I can only select decimal, rational..., but not square root. When I input sqrt(5) in a matrix and display it, it is transformed to decimal. Can I keep the square root form?
1 Kommentar
Akzeptierte Antwort
Walter Roberson
am 31 Jan. 2023
sqrt(sym(5))
This requires the Symbolic Toolbox.
Also, display of the square root symbol itself instead of 5^(1/2) requires that you are using Livescript
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Numbers and Precision finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!