データフィッティングする任意の近似式

5 visualizaciones (últimos 30 días)
Hiroki Takeda
Hiroki Takeda el 28 de Mayo de 2022
データは以下で、ヒストグラムをbarで描きます。
x=0:0.1:5
y=[0 0 0 0.05 0.1 0.13 0.18 0.19 0.21 0.13 0.12 0.05 0.07 0.1 0.08 0.06 0.04 0.04 0.03 0.02 0.01 0.02 0.01 0.01 0.01 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.01]
このヒストグラムに、データフィッティングする任意の近似式(y=a+bexp(-cx)など)で近似曲線を描きたいです。
・a, b, cの係数が何になるか?またはどのような近似式だったら楽に書けるか。
・Statistics and Machine Learning Toolboxは持っています。curve fittingToolboxは持っていません。
下記を参考にしていますが、上手くいっておらず困っております。
どうぞよろしくお願いいたします。

Respuestas (0)

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!