Community Profile

photo

Thuan Huynh


Last seen: 21 dagen ago Active since 2019

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


i need solve m*d2x/dt2 + c*dx/dt + k*x= 0 with matlab and I have encountered an error Undefined function or variable 't'. please help me
function dx = kc(t,x) global cm km dx = [-cm*x(1) - km*x(2);x(1)]; tspan = [0 15]; ic = [0 1]; global cm km m = 20; c(1)...

ongeveer 5 jaar ago | 1 answer | 0

1

answer