Effacer les filtres
Effacer les filtres

what is the error ?

1 vue (au cours des 30 derniers jours)
shamsa khalid
shamsa khalid le 8 Mar 2021
Commenté : shamsa khalid le 9 Mar 2021
  4 commentaires
James Tursa
James Tursa le 8 Mar 2021
Please post your code as regular text highlighted by the CODE button. We can't copy & run images.
shamsa khalid
shamsa khalid le 9 Mar 2021
syms t
f=@(t)t^2
g=@(t)5*t-1
h=@(t)2*t^3-t
r=[f(t) g(t) h(t)]
dr = diff(r,t);
T=dr/norm(dr);
dT=diff(T,t);
k=norm(dT)/norm(dr);
k=subs(k,1);
disp('Curvature at t=1;'),disp(k)
disp('Or,approximately;'),disp(double(k))

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by