Help CenterHelp Center
Plot linear regression
plotregression(targets,outputs)
plotregression(targs1,outs1,'name1',targs2,outs2,'name2',...)
example
plotregression(targets,outputs) plots the linear regression of targets relative to outputs.
targets
outputs
plotregression(targs1,outs1,'name1',targs2,outs2,'name2',...)generates multiple plots.
collapse all
This example shows how to plot the linear regression of a feedforward net.
[x,t] = simplefit_dataset; net = feedforwardnet(10); net = train(net,x,t);
y = net(x); plotregression(t,y,'Regression')
Network targets, specified as a matrix or cell array.
Network outputs, specified as a matrix or cell array.
Introduced in R2008a
plottrainstate
Sie haben eine geänderte Version dieses Beispiels. Möchten Sie dieses Beispiel mit Ihren Änderungen öffnen?
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office