Why Matlab shows me a small number as a ratio of very high numbers?
Afficher commentaires plus anciens
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]);
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Code Performance dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!