MATLAB Help with MATLAB Code for Electric Circuits 2 Project

  • Thread starter Thread starter Great soul
  • Start date Start date
  • Tags Tags
    Project
AI Thread Summary
A user is seeking assistance with writing MATLAB code for a project related to electric circuits, specifically for two differential equations: dVc/dt and diL/dt. The user has already formulated the equations but lacks the knowledge to translate them into MATLAB code. They express frustration over the instructor's lack of guidance on using MATLAB and mention feeling unprepared for the assignment. There is a suggestion that the thread may be more appropriate for a homework section, highlighting a concern about the suitability of the discussion's location. The user appreciates any help offered.
Great soul
Messages
4
Reaction score
0
hi guys,
I need ur help please.

in the attachement, there is a project for a course called(electric circuits 2).
I have finished writing the equations but I do not know how to write the MATLAB code for them.

dVc/dt= (-10^6) iL(t) - (10^6) Vc(t) + (10^6) Vs

diL/dt= -10^4 iL(t) + 10^3 Vc(t) + 0Vc(t)

Please anyone knows that , write for me the code.

I will appreciate

thankx
 

Attachments

Physics news on Phys.org
I noticed that in the attachment you posted it says:
Code:
Here are some nice excuses ☺ for not doing well: [I]I do not know how to use
MATLAB... This is the first time ... The printer is not working...I had major
exams ...etc[/I]
I don't know if I'm supposed to say this or not, but I think this thread might belong in the Homework section...
 
Last edited:
^^^^
here is the problem.
I tried my best to write them in MATLAB but the instructor did not teach us how to deal with matlab.

so he expected those excuses.

I am really sorry if the place of this topic is not suitable here.
 

Similar threads

Replies
4
Views
1K
Replies
4
Views
4K
Replies
5
Views
2K
Replies
3
Views
2K
Replies
2
Views
3K
Replies
10
Views
3K
Replies
3
Views
2K
Back
Top