Hello everyone, how can I plot the following six curves on a graph? More importantly, compare the similarity of the six curves.

1 回表示 (過去 30 日間)
Wesley
Wesley 2021 年 1 月 8 日
回答済み: KSSV 2021 年 1 月 8 日
code:
load jizuobiao1.mat
f = fit(THETA1,RHO1,'smoothingspline','SmoothingParam',0.99);
plot(f,THETA1,RHO1)

回答 (1 件)

KSSV
KSSV 2021 年 1 月 8 日
Read about hold on to plot all the curves in a single plot...you can give legend ti differentiate the each curve. To get similiarity you can use corr.

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by