MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by baihaki
on 31 Jan 2013

RL=-√(Pg1/a2) + b2)(a1ΔPg + b1)

i'm working on simulation program right now and i don't know how to make this block diagram

Answer by Ryan G
on 31 Jan 2013

Accepted answer

Modeling ODEs in Simulink should help you get started. This looks pretty straightforward.

## 2 Comments

## baihaki

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/60621#comment_126703

thanks for the answer. this really help me to understand the basic. however, do you know how to write Δ in block diagram simulink

## Ryan G

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/60621#comment_127090

I believe in this case it would be the derivative with respect to time of Pg. Can't say for sure, but if it is you can use the derivative block to model it.