Fit dataset to another dataset

3 views (last 30 days)
LB
LB on 20 Oct 2021
Edited: LB on 20 Oct 2021
Hello,
Im trying to find a way to generate a new equation that might fit a set of data to another.
So the new equation should take the red dataset as input and output something close to the dataset in blue.
So im trying to transform the red curve into the blue curve.
How could i achieve this?
Thank you

Answers (1)

Matt J
Matt J on 20 Oct 2021
  3 Comments
Matt J
Matt J on 20 Oct 2021
The usage of polyfit is explained at the link I provided for you.
LB
LB on 20 Oct 2021
Edited: LB on 20 Oct 2021
I guess you didn't understand the problem, thank you for your time.

Sign in to comment.

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!