⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fademo.m

📁 新的神经网络算法源程序
💻 M
字号:
%Fademo:%% =================================================%  Demonstration of the WaveNet: 1-D Interpolation% =================================================%%Use the mouse to select a set of points in the graphics window which will%be interpolated by a WaveNet.%%    Left   button: select a point%    Middle button: delete a point%    Right  button: terminate input%%Press RETURN while keeping the mouse pointer in the graphics window%to terminate inputs. %%If there are two column vectors x, y of the same length in the MATLAB %work space, they are used as already selected samples. Clear them if you %wouldn't start with them.% By Qinghua Zhang. March, 1994.help fademo%fprintf(' Strike any key to start inputs.\n\n'); pause%check if there are already defined data%=======================================if (exist('x') == 1) & (exist('y') == 1)  [xl,xc] = size(x); [yl,yc] = size(y);  if (xc ~= 1) | (yc ~= 1) | (xl ~= yl)    x = [];    y = [];   endelse  x = [];  y = [];enddisp(' Running graphics input utility...');%Get Input-output tagets%========================[x, y] = ptinput(10,x',y'); x=x'; y=y';%Input parameters%=================nbwavelon=input('Number of wavelets [Default=auto] = ');if isempty(nbwavelon)  nbwavelon = [];endmax_epoch=input('Maximum number of epochs of training [Default=40] = ');if isempty(max_epoch)  max_epoch = 40;endinitmode=input('Initialization mode [Default=2] = ');if isempty(initmode)  initmode = 2;endmin_nbw=input( 'min_nbw = [Default=auto] ');levels=input( 'levels = [Default=auto] ');disp(' ');% Call the training procedure%=============================th = wnetreg(y, x, nbwavelon, max_epoch, initmode, min_nbw, levels);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -