MATLAB: Variable of Integration in Simulink

integrationsimulink

How to integrate a function or any source variable with respect to another variable (" the variable of integration" ) rather than the time counted by simulink when it is run?
i.e. How to integrate this in simulink( how to set the variable of integration to x or using dx rather than dt )?

Best Answer

  • If the variable x is a function of time x(t), you can use Integration by substitution method
    Differentiate the function x using Dervative block multiply with the function and integerate using Integrator block.
  • Related Question