Fitting a specific linear function to data
1 view (last 30 days)
Show older comments
Answered: Tarunbir Gambhir on 15 Jun 2021
I have some data to which I want to fit the following function:
c1 * X + c2 * Y
I know the values for X and Y, can you give me a hint as to how I should proceed?
Tarunbir Gambhir on 15 Jun 2021
You can launch the Curve Fitting Tool with 'cftool( x, y, z )' for your case. This will create a surface fit to x and y inputs and z output.
Find more on Get Started with Curve Fitting Toolbox 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!