Effacer les filtres
Effacer les filtres

Plot function fit using matlab

1 vue (au cours des 30 derniers jours)
WT
WT le 5 Avr 2015
Réponse apportée : dpb le 5 Avr 2015
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

Réponses (1)

dpb
dpb le 5 Avr 2015
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...

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by