How to replace approximate real numbers near zero in expression with exact integer 0?
15 views (last 30 days)
Show older comments
lei jiang
on 13 Dec 2018
Answered: Walter Roberson
on 13 Dec 2018
Sometimes we have very small coefficients in symbolic operations.
syms x y
y = sin(pi)*x;
The result is
y =(4967757600021511*x)/40564819207303340847894502572032
How to replace approximate real numbers near zero in expression with exact integer 0?
0 Comments
Accepted Answer
More Answers (1)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!