Help with differential equations in Matlab

Devam Ediyor

Hello, I have two small issues with some matlab code to solve an ODE.

If you are experienced it should not take you more than a few minutes

1) I want to solve the ODE below (eqn)

syms L R C t Q(t)

U = V(t);

dQ = diff(Q,t);

d2Q = diff(dQ,t);

DEQ = L*C*d2Q + L/R*dQ + Q;

DEQ = subs(DEQ, {L, R, C}, {1, 1, 1});

eqn = (U == DEQ);

I get the appropriate answer by using dsolve if V(t) is a well defined function ie: sin(t),

now I want to solve the same ODE for V(t) equal an array of number that I get from a previous calculation.

for testing you can take these time and voltage arrays

t = 0:1/12:[url removed, login to view];

Vc = [1:3/(7*12-1):4,4:-1/(3*12-1):3,3:3/(7*12-1):6,6:-1/(3*12-1):5];

2) I can solve the same ODE by using the transfer function, however it looks like the lsim function is not taking my initial condition 0.3 and always starts from zero

R = 1; L = 1; C = 1;

G = tf([1/(L*C)],[1 1/(R*C) 1/(L*C)]);

t = 0:1/12:[url removed, login to view];

Vc = [1:3/(7*12-1):4,4:-1/(3*12-1):3,3:3/(7*12-1):6,6:-1/(3*12-1):5];

x0 = 0.3; %initial condition

figure

hold on

plot(t,Vc)

plot(t,lsim( G, Vc, t, 0.3 ))

Beceriler: Elektrik Mühendisliği, Elektronik, Matematik, Matlab ve Mathematica

Daha fazlasını görün: freelance matlab coders homework help, differential equations help, simulation stochastic differential equations matlab, matlab differential equations simulation, help matlab programm ecg, help matlab 2008, matlab assignment help, nntool matlab help, help nntool matlab, help sim matlab, help matlab vbnet, student project help matlab, matlab help nntool, plotting differential equations matlab, help matlab nntool

Proje NO: #14671915

Seçilen:

umair8511

I have experience in mathematics and special skills and concepts in differential equations . i assure you the quality work Relevant Skills and Experience Teaching differential equations Proposed Milestones €23 Daha fazlası

1 gün içinde 10€ EUR
(0 Değerlendirme)
0.0

8 freelancer bu iş için ortalamada 24€ teklif veriyor

Arkabrata

I’m a result-oriented, hands-on freelance professional, with over 8 years of experience in Predictive Analytics, Regression techniques, Linear regression, Discrete choice, Time series, Survival analysis, Decision Tree Daha fazlası

1 gün içinde 23€ EUR
(174 Değerlendirme)
6.7
1 gün içinde 23€ EUR
(25 Değerlendirme)
5.1
Pradumanstime

hello i can help in solving differiential equations in matlab if i get this project. Relevant Skills and Experience i have skilled in matlab and also have 6 months of experience Proposed Milestones €22 EUR - As the p Daha fazlası

1 gün içinde 22€ EUR
(0 Değerlendirme)
0.0
zeeshanhaider321

I am well experienced in solving ode in Matlab. i assure you I will complete this task with great care and perfection

1 gün içinde 24€ EUR
(0 Değerlendirme)
0.0
1 gün içinde 8€ EUR
(0 Değerlendirme)
0.0
davidsalah

hello i see your project let me begin to typing and got solution for you i hope you can hire me with low prize few time regard salah

1 gün içinde 12€ EUR
(0 Değerlendirme)
0.0
in 0 gün içinde66€ EUR
(0 Değerlendirme)
0.0