Plot function fit using matlab

1 回表示 (過去 30 日間)
WT
WT 2015 年 4 月 5 日
回答済み: dpb 2015 年 4 月 5 日
Hi, May I know how can I plot targets and outputs on the same graph, showing the errors? plotfit(net,Inputs,Target) only allows plotting of single input problems. How can i plot if i have more than one input? Thank You for your help

回答 (1 件)

dpb
dpb 2015 年 4 月 5 日
See
doc plot
for details and examples under the section 'Graphics/2-D and 3-D Plots' for Line Plots of Matrix Data
In short, a 2D array of y-values is considered separate variables for each column and the plotting is automagic. It only takes that the length of each is the same but this is also easily worked around by filling shorter areas with NaN which are ignored. Alternatively, use
hold on
and you can add subsequent information to the axes without losing the previously drawn. There are examples for this as well...

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by