MATLAB: How to create a constant that grows over time

gradually increasing valuesimulink

I want to create a path(line) using Simulink block diagrams. I'll use the equation of a line Y=m(X-x1)+Y1 . I want to find the Y value for each X value which will start from a specific value and increase gradually by 0.1.

Best Answer

  • See the attached simulink model (saved in R2020a).