function [x11, x22, x1x2out] = plotboundary2(net, x1ran, x2ran) % 画决策边界 hold on; x1=-1:.02:1;x2=-1:.02:1; [x11, x22] = meshg…
Contour+Model 源代码
汇集 Contour+Model 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
[x,y]=meshgrid(-2:0.1:2,-1:0.1:3); z=100*(y-x.^2).^2+(1-x).^2; figure(1); mesh(x,y,z) figure(2); contour(x,y,z,20) drawnow …
'============================================================================ ' RAINBOW.BAS ' ' This script creates a LVL file …
'============================================================================ ' COLORLINESFILLS.BAS ' ' This script creates a L…
'============================================================================ ' COLORLINES.BAS ' ' This script creates a LVL fi…
%产生非平稳信号 sig=atoms(128,[32,0.15,20,1;96,0.15,20,1;32,0.35,20,1;96,0.35,20,1]); %时域波形 figure(2) plot(real(sig),'LineWidth',2)…
[x,y]=meshgrid(-2:0.1:2,-1:0.1:3); z=100*(y-x.^2).^2+(1-x).^2; figure(1); mesh(x,y,z) figure(2); contour(x,y,z,20) drawnow …
load xyz xi=0:50:5600; yi=0:50:4800; zi=interp2(x,y,z,xi,yi','nearest'); subplot(1,3,1),contour(xi,yi,zi,10,'r'); hold on …
clear x=[129 140 103.5 88 185.5 195 105.5 157.5 107.5 77 81 162 162 117.5]; y=[7.5 141.5 23 147 22.5 137.5 85.5 -6.5 -81 3 56.5 …
[x,y]=meshgrid(-2:0.1:2,-1:0.1:3); z=100*(y-x.^2).^2+(1-x).^2; figure(1); mesh(x,y,z) figure(2); contour(x,y,z,20) drawnow …