what is the error ?

2 次查看(过去 30 天)
shamsa khalid
shamsa khalid 2021-3-8
  4 个评论
James Tursa
James Tursa 2021-3-8
Please post your code as regular text highlighted by the CODE button. We can't copy & run images.
shamsa khalid
shamsa khalid 2021-3-9
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))

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by