Why Matlab shows me a small number as a ratio of very high numbers?

5 views (last 30 days)
Does anyone know why Matlab shows me a small number as a ratio of very high numbers? When I run the code below, for a start r-zG should be ~21, instead matlab gives me the number as:
x3(t)*(z + 38413220085465947/1759218604441600)^(1/2) where the ratio is indeed 21...
for i=1:length(A(1,:))
x3=sym('x3(t)');
x1=sym('x1(t)');
x1_diff=diff(diff(x1,t),t);
r=D_o-thickness;
rc(1,i)=r;
% severe simplifications made
a=r-zG;
fI1=symfun((x3*sqrt(z+r-zG)),[t z]);

Accepted Answer

A Jenkins
A Jenkins on 20 Mar 2014

More Answers (0)

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!