How can I fit a curve on two sets of data simultaneously?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi there,
I have two different curves (sinusoidal functions with the same frequencies) in one period of time. I want to find the best curve which can represent both of the reference curves. I want to know is there any method in MATLAB that using it I can fit a curve on that two sets of data simultaneously?
Thank you,
2 Kommentare
Torsten
am 15 Apr. 2022
What is the equation of the function to which you want to fit both sinusoidal curves ?
Antworten (1)
Walter Roberson
am 15 Apr. 2022
Append the data together.
joint_x = [x1; x2];
joint_y = [y1; y2];
cftool(joint_x, joint_y)
Siehe auch
Kategorien
Mehr zu Fit Postprocessing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!