How can i plot using semilog graph using cftool

10 ビュー (過去 30 日間)
mzain
mzain 2013 年 1 月 29 日
I would like to plot using either semilogy or semilogx instead of normal plot...

回答 (1 件)

Shashank Prasanna
Shashank Prasanna 2013 年 1 月 29 日
This feature is currently not available in CFTOOL. The best workaround I can recommend is to click on File > Generate Code.
In the code file under plot command use the following lines:
% h = plot( fitresult, xData, yData ); Comment this line and add the lines below.
semilogx(xData,yData)
yD = feval(fitresult,xData);
hold on
semilogx(xData,yD,'--r')

カテゴリ

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