Code covered by the BSD License  

Highlights from
Function Parameter Slider

Be the first to rate this file! 24 Downloads (last 30 days) File Size: 11.75 KB File ID: #28076
image thumbnail

Function Parameter Slider

by Teja Muppirala

 

30 Jun 2010

Use continuously updating sliders to view how a function changes as its input parameters change

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
sliders Teja Muppirala 12 Jul 2010 14:03:44
visualization Teja Muppirala 12 Jul 2010 14:03:44
gui Teja Muppirala 12 Jul 2010 14:03:45
functions Teja Muppirala 12 Jul 2010 14:03:45

Contact us at files@mathworks.com