Use the value of continuous slider in MATLAB
I am kinda stuck here. I have tried to read and implement some simple continuous slider scripts, ( like this one ), but I am not getting anywhere. What I simply want to go, is use the continuous slider value in my plot, as I slide the slider. However, I cannot figure out how to extract the value of the slider to do so. So for example, make a continuous slider, and then use it to change the amplitude of a vector lets say, as you continuously slide it. How can that be done? Thanks. Something like this? function sliderDemo f = figure(1); %// Some simple to plot function (with tuneable parameter)