Find Jobs
Hire Freelancers

Help with differential equations in Matlab

€8-30 EUR

Inställt
Publicerad nästan sju år sedan

€8-30 EUR

Betalning vid leverans
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:19.99; 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:19.99; 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 ))
Project ID: 14671915

Om projektet

7 anbud
Distansprojekt
Senaste aktivitet sju år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
Tilldelad till:
Använd avatar
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 EUR - for complete project in one day
€10 EUR Om 1 dag
5,0 (4 omdömen)
2,2
2,2
7 frilansar lägger i genomsnitt anbud på €24 EUR för detta uppdrag
Använd avatar
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
€12 EUR Om 1 dag
0,0 (0 omdömen)
0,0
0,0
Använd avatar
I am well experienced in solving ode in Matlab. i assure you I will complete this task with great care and perfection
€24 EUR Om 1 dag
0,0 (0 omdömen)
0,0
0,0
Använd avatar
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 progress goes i will be in contact with you
€22 EUR Om 1 dag
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för NETHERLANDS
arnhem, Netherlands
5,0
2
Medlem sedan juli 4, 2017

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.