フィルターのクリア

How to fit a curve to a power spectrum curve which follows power law

4 ビュー (過去 30 日間)
Chris Martin
Chris Martin 2013 年 1 月 15 日
How to fit a curve to a power spectrum curve which follows power law

回答 (1 件)

Mona Mahboob Kanafi
Mona Mahboob Kanafi 2013 年 8 月 13 日
編集済み: Mona Mahboob Kanafi 2013 年 8 月 14 日
Hi,
Go to cftool, then select your data and choose power; set number of terms to '1' if it follows this equation: y = a*x^b
Also you can do this on command window:
f = fit(x,y,'power1');
and then if you want the parameters just use this command:
coefs = coeffvalues(f);

カテゴリ

Help Center および File ExchangeCurve Fitting Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by