matlab equation help

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
Hello guys

i have got an egauation and i need 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
 

use the embedded MATLAB function in the simulink for implemnting ur equation or just a function
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…