Function Parameter Slider

Use continuously updating sliders to view how a function changes as its input parameters change
2,6K Downloads
Aktualisiert 1 Sep 2016

Lizenz anzeigen

funcslider.m
Given a function with several (up to 5) inputs, and several outputs,
[z1, z2, ...] = f(x1,...,x5)

Function Slider lets you vary the input values x1...x5 using continuously updating sliders, and then viewing the results using any arbitrary MATLAB expression on the outputs (z1,z2...).

The input function, output (plotting) function, and slider values/limits are all user settable.

I wrote this with a hard coded limit of 5 sliders in this GUI, but it probably wouldn't be too hard to change this.

The HELP shows several examples that should hopefully make this clear.

Known issues:
There may be some difficulties with trying to keep the view exactly the same when the lock command is checked.

Zitieren als

Teja Muppirala (2024). Function Parameter Slider (https://www.mathworks.com/matlabcentral/fileexchange/28076-function-parameter-slider), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2010a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.1

Updated license

1.0.0.0