strangsample.m
来自「lu 分解 b样条曲线」· M 代码 · 共 18 行
M
18 行
clc
p=[ 0 -0.5 0.5 1.2 20;
0 -1.5 0.6 1.1 90];
t=[ 0 0 1 0 1];
net=newp(minmax(p),1);
net.trainparam.epochs=200;%This will draw a figure:Traning with TRAINC
net=train(net,p,t);
figure;
plotpv(p,t);
plotpc(net.iw{1},net.b{1});
figure;
plotpv(p,t);
plotpc(net.iw{1},net.b{1});
axis([-2 2 -2 2]);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?