ans = 0.52360
is it possible to get the result in form of:
ans = pi/6
It seems not possible with format function, but may be there are any tricks.
I assume it's the same as with Matlab, where you would do sym(asin(1/2)).
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago