Plot function fit using matlab
1 回表示 (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
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...
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!