Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me out with implementing equation in Matlab (both Simulink and m-file)

Status
Not open for further replies.

magdi23

Newbie level 4
Joined
Jun 2, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,315
i have got an egauation and i nees to implement it in matlab in both (simulink and m-file, so could you please help me out.

dmM/dt= mM(t)-Rp, the problem here mM(t) which is variable on time, mM max =7.560^-3 when [tm0,tm1]= [30,100 minutes] else mM=0.

actually i havent done the if, else programming and i would somebody to help me also with simulink


thank you and i am looking forward to hearing from you
 

Re: matlab equation help

use 'diff' to write any differential equation.search on internet for it and if else structure is
if (condition on variables to be written here)
{
statements to be executed
}
else
{
}
end
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top