plot a function with a changing parameter

1 view (last 30 days)
raffaele
raffaele on 22 Mar 2015
Edited: Nikola on 2 Mar 2023
Hi everybody, I would like to plot the function y=a*x, with a=parameter. What I want is to plot y and x, and then, I don't know, an (interactive) animation of this graph when "a" changes, or add the possibility of change the values of "a" in real time. I hope I have explained well what I'm looking for. Thanks for your attention.

Answers (1)

Nikola
Nikola on 2 Mar 2023
Edited: Nikola on 2 Mar 2023
Ahh man, I need this so bad right now...

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!