photo

Sangita Kamat


Last seen: 8 days ago Active since 2018

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


How to solve the following System of first order differential equations using ode45?please help
q1=[q11; q21; q13]; q10=[7.1892; 11.4189; 0.5826]; t1 = pi:0.1:2*pi; dq11dt1= -k1*(12.7734-q11)*cos(q31)...

6 years ago | 1 answer | 1

1

answer

Question


Hello, I have divided first order differential equations into 6 systems over respective time span, I am getting result as Inputs must be floats, namely single or double. I have tried to correct but not happening. Please help
t1span=[0:0.5:pi] t2span=[ pi:0.5:2*pi]; t3span=[ 2*pi:0.5:3*pi]; t4span=[3* pi:0.5:4*pi]; t5span=[4* pi:0.5:5*pi]...

6 years ago | 1 answer | 0

1

answer

Question


If I try to solve ODE45 for the following, I am getting msg"Inputs must be floats, namely single or double. Can anybody tell me how to rectify? I am new to Matlab
for j=1:20 ; syms r xT yT k1 k2 t p v q q1 q2 q3 q10 q20 xt yt Px Py Ox Oy RD RP PD fcr fct fcrx fcry fctx fcty fct ...

6 years ago | 1 answer | 0

1

answer