Simbolic Math Toolbox: How to convert d-form sym to r-form? And a bug?
Show older comments
Two new questions --
Q5 How to easy convert symbolic d-form into r-form?
>> a=vpa(log(2),5)
a =
0.69315
This is d-form.
>> b=sym(rats(0.69))
b =
69/100
This is r-form.
That is -- what is symbolic analog command RATS?
Q6: new bug?
>> digits(32) >> vpa(pi,100)
ans =
3.141592653589793115997963468544185161590576171875
>> vpa pi 100
ans =
3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803
It seems results must be equal...
Accepted Answer
More Answers (0)
Categories
Find more on Special Values 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!