How to plot curve y=a*x with changing parameter a?

1 次查看(过去 30 天)
Is there any function in Matlab, which allows me to plot a curve with some sort of bar, where can I change a parameter a, to (for example) vary the slope? Something similar to the picture I atttached. Any help is appreciated :)

采纳的回答

Matt J
Matt J 2023-3-2

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by