polynomial plot fitting in matlab

1 view (last 30 days)
Alireza Lashgary
Alireza Lashgary on 22 Aug 2016
Commented: KSSV on 22 Aug 2016
Hi There my code produce several polynomials and their plots .. and also i have a main polynomial and its plot .. i want to find the closest produced polynomial to the main polynomial plot?
the red one is the main plot .. other is produced

Answers (1)

KSSV
KSSV on 22 Aug 2016
Find the standard deviation of each blue curve from red curve. Whose ever curve's standard deviation is least, that curve is close to the red curve.
  2 Comments
Alireza Lashgary
Alireza Lashgary on 22 Aug 2016
do you have any matlab code for this?
KSSV
KSSV on 22 Aug 2016
simple...doc standard deviation in matlab...there is a direct command to get it.

Sign in to comment.

Categories

Find more on Polynomials 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!