Can Matlab generate a function based on XY points?
Show older comments
Hello,
I was wondering if this is possible in Matlab.
Say I generate an X and Y array that is not linear. I could connect the points and create a curve but this is labor intensive.
If given a data set can you use Matlab to generate a function that represents these points?
Excel has built in functions to do this and I may try to determine the relationship this way but was wondering if I could do it in Matlab.
Thank you,
Mike
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 29 Oct 2012
1 vote
You can use a Curve Fitting toolbox
Categories
Find more on Resizing and Reshaping Matrices 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!