How can I create a constant that grows over time?

4 vues (au cours des 30 derniers jours)
Fazil Doruk Inanc
Fazil Doruk Inanc le 18 Mai 2020
Commenté : Ameer Hamza le 18 Mai 2020
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.
  1 commentaire
Sulaymon Eshkabilov
Sulaymon Eshkabilov le 18 Mai 2020
What is the value of Y1 (Y0 the initial value of Y)? m = const. and x1=0.1 or Y1 = 0.1?

Connectez-vous pour commenter.

Réponse acceptée

Ameer Hamza
Ameer Hamza le 18 Mai 2020
See the attached simulink model (saved in R2020a).
  4 commentaires
Fazil Doruk Inanc
Fazil Doruk Inanc le 18 Mai 2020
nice this helped
Ameer Hamza
Ameer Hamza le 18 Mai 2020
I am glad to be of help!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by