Functions and graphs in MatLab

1 view (last 30 days)
Nuno Bouça
Nuno Bouça on 23 Mar 2015
Commented: Nuno Bouça on 23 Mar 2015
Is possible to design functions in Matlab? How? And several functions on the same graph?
After making a graph "curve fitting" you can draw curves there? And pick up a model (function) already created and make that model curve a percentage increase or decrease? (e.g. 10%)
Thanks in advance for the help! Best Regards.

Answers (1)

John D'Errico
John D'Errico on 23 Mar 2015
Is it "possible"? Yes. But you would need to write the code. Would it be difficult? Not so much so. But you have some pretty non-specific specs there, and they would surely change as you thought of other things to add.
The point is that MATLAB is not a free form drawing tool, letting you draw whatever you want, and then getting the result as some function. It COULD be. But that would take code to do so.
MATLAB is a computational environment, not a function drawing and creating tool. It can do pretty much anything you want. But everyone is different, we all need to do different things. So nobody (that I know of) has written exactly the tools you want to see. You certainly could. Well, I know that I could. In fact, I've done at least part of this in the past, writing a gui interface for the precursor to my SLM toolbox. (Yes, that was a very nifty tool.)
  1 Comment
Nuno Bouça
Nuno Bouça on 23 Mar 2015
I'm not a programmer, I have many difficulties. I will continue to explore more solutions, also because I have little time for more than that.
Thank U!

Sign in to comment.

Categories

Find more on 2-D and 3-D 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!