Fit dataset to another dataset

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

How do i enter both datasets inputs in polyfit?
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.

Categories

Products

Release

R2020b

Asked:

LB
on 20 Oct 2021

Edited:

LB
on 20 Oct 2021

Community Treasure Hunt

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

Start Hunting!