亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? demo_get_data.m

?? RBF算法matlab工具箱,里面有詳細(xì)的說明文檔.
?? M
字號:
function [mydemo, cleanup] = demo_get_data%% Demo of RBF design matrix utility.%% Initialise.n = 0;n = n + 1;mydemo(n) = struct( ...  'comments', {{              'Howdy! This is the demo for the get_data utility.', ...              '-------------------------------------------------', ...              '', ...              'get_data is used to create training or test sets for', ...              'a small set of simple simulated regression problems.'}}, ...  'commands', '', ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', 'First, let''s find out what problems get_data can handle.', ...  'commands', 'get_data(''names'')', ...  'question', {{...              'This shows that, amongst others, get_data recognizes', ...              'two problems called ''sine1'' and ''hermite'', both of', ...              'which map 1D inputs to 1D outputs.', ...              '', ...              'Please pick one of these 1D-to-1D problems.'}}, ...  'optional', {{'sine1', 'hermite'}});n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Okay, you chose ''answer''. So now let''s run get_data on', ...              'that problem and let it set the configuration defaults itself.'}}, ...  'commands', '[x, y, conf] = get_data(''answer'');', ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', 'Let''s have a look at the x and y values get_data has returned.', ...  'commands', {{ ...              'fig = get_fig(''get_data demo'');', ...              'hold off', ...              'plot(x, y, ''r*'')', ...              '%set(gca, ''XLim'', [conf.x1 conf.x2])', ...              '%set(gca, ''YLim'', [floor(min(y)) ceil(max(y))])', ...              '%set(gca, ''XTick'', conf.x1:conf.x2)', ...              '%set(gca, ''YTick'', floor(min(y)):ceil(max(y)))', ...              '%xlabel(''x'', ''FontSize'', 16)', ...              '%ylabel(''y'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'This noisy data is obviously meant to be a training set.', ...              'You can check on that by examining some of the defaults', ...              'that get_data has set and passed back in conf. For example,', ...              'the noise (conf.std) and whether the input values are ordered', ...              '(conf.ord: 1 means ordered and evenly spaced, 0 means not', ...              'ordered and not evenly spaced).'}}, ...  'commands', {{ ...              'disp(conf.std)', ...              'disp(conf.ord)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Next, let''s create a test set to go with the training set', ...              'we''ve already got. Our test set will be uncorrupted by noise', ...              'and we want the x values to be ordered (for plotting purposes).', ...              'To achieve this we can just edit the conf structure and hand it', ...              'back to get data.'}}, ...  'commands', {{ ...              'conf.std = 0;', ...              'conf.ord = 1;', ...              '[xt, yt] = get_data(conf);', ...              'hold on', ...              'plot(xt, yt, ''b-'', ''LineWidth'', 2)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'If you want to plot a curve then ordering the inputs (x values)', ...              'is important, otherwise this happens. Not a pretty sight!'}}, ...  'commands', {{ ...              'conf.ord = 0;', ...              '[xt, yt] = get_data(conf);', ...              'hold off', ...              'plot(xt, yt, ''b-'', ''LineWidth'', 2)', ...              '%set(gca, ''XLim'', [conf.x1 conf.x2])', ...              '%set(gca, ''YLim'', [floor(min(y)) ceil(max(y))])', ...              '%set(gca, ''XTick'', conf.x1:conf.x2)', ...              '%set(gca, ''YTick'', floor(min(y)):ceil(max(y)))', ...              '%xlabel(''x'', ''FontSize'', 16)', ...              '%ylabel(''y'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', 'Of course, if all you want is points then that''s no problem.', ...  'commands', {{ ...              'plot(xt, yt, ''b*'')', ...              '%set(gca, ''XLim'', [conf.x1 conf.x2])', ...              '%set(gca, ''YLim'', [floor(min(y)) ceil(max(y))])', ...              '%set(gca, ''XTick'', conf.x1:conf.x2)', ...              '%set(gca, ''YTick'', floor(min(y)):ceil(max(y)))', ...              '%xlabel(''x'', ''FontSize'', 16)', ...              '%ylabel(''y'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'What we just saw was an example where the input space (x) was 1D.', ...              'Plotting 2D data sets is a little more tricky.'}}, ...  'commands', '', ...  'question', 'Would you like to see a 2D example?', ...  'optional', {{'yes', 'quit'}});n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Okay, let''s try the ''sine2'' problem and, at first, allow', ...              'get_data to choose all the defaults. We''ll plot the positions', ...              'of the input points in the 2D plane.'}}, ...  'commands', {{ ...              '[X, y, conf] = get_data(''sine2'');', ...              'plot(X(1,:), X(2,:), ''m*'')', ...              '%xlabel(''x_1'', ''FontSize'', 16)', ...              '%ylabel(''x_2'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'How many samples (conf.p) has get_data given us, are the inputs', ...              'ordered (conf.ord) and how much noise (conf.std) is corrupting', ...              'the outputvalues?'}}, ...  'commands', {{ ...              'disp(conf.p)', ...              'disp(conf.ord)', ...              'disp(conf.std)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Ordering is turned off (as you could see from the figure) which is a', ...              'problem for plotting the surface. Matlab uses ordered and regularly', ...              'spaced grids for plotting 2D functions so we''ll need to turn ordering', ...              'on (which will also have the effect of regularly spacing out the', ...              'x-component values). In addition, we want an uncorrupted (smooth)', ...              'surface so we''ll set the noise to zero.'}}, ...  'commands', {{ ...              'conf.ord = 1;', ...              'conf.std = 0;', ...              '[X, y, conf] = get_data(conf);', ...              'plot(X(1,:), X(2,:), ''m*'')', ...              '%xlabel(''x_1'', ''FontSize'', 16)', ...              '%ylabel(''x_2'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Notice the number of samples (conf.p) has changed, even though we', ...              'didn''t explicitly alter it. Why? To get an even number of points', ...              'along each of the two input dimensions get_data has taken the', ...              'square root of the original number, rounded it and squared it.', ...              'The new number of samples is the nearest perfect square to the', ...              'original number.'}}, ...  'commands', 'disp(conf.p)', ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Before we can plot the surface we also need to turn the output', ...              'vector (y) into a matrix and infer the x-component values that', ...              'get_data has assigned. The latter can be accomplished by finding', ...              'out the minimum (conf.x1) and maximum (conf.x2) x-values.'}}, ...  'commands', {{ ...              'q = sqrt(conf.p);', ...              'Y = zeros(q,q);', ...              'Y(:) = y;', ...              'v1 = linspace(conf.x1(1), conf.x2(1), q);', ...              'v2 = linspace(conf.x1(2), conf.x2(2), q);'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Now at last we''re ready to do the plotting.', ...              'First a fairly standard effort.'}}, ...  'commands', {{ ...              'mesh(v1, v2, Y)', ...              '%xlabel(''x_1'', ''FontSize'', 16)', ...              '%ylabel(''x_2'', ''FontSize'', 16)', ...              '%zlabel(''y'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', 'Secondly, a more ambitious one.', ...  'commands', {{ ...              'surfl(v1, v2, Y)', ...              'light(''Position'', [0 0 1], ''Style'', ''infinite'');', ...              'colormap(hot)', ...              'shading interp', ...              '%xlabel(''x_1'', ''FontSize'', 16)', ...              '%ylabel(''x_2'', ''FontSize'', 16)', ...              '%zlabel(''y'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Finally, let''s change one of the function''s parameters.', ...	      'The contents of the fields ''pinfo'' and ''par'' in conf', ...              'tell you what they''re for and what their values are.', ...              'In this example we''ll change the frequency along x_1.'}}, ...  'commands', {{ ...              'disp(conf.pinfo)', ...              'disp(conf.par)', ...              'conf.par(2) = 1;', ...              '[X, y] = get_data(conf);', ...              'Y(:) = y;', ...              'surfl(v1, v2, Y)', ...              '%light(''Position'', [0 0 1], ''Style'', ''infinite'');', ...              '%colormap(hot)', ...              '%shading interp', ...              '%xlabel(''x_1'', ''FontSize'', 16)', ...              '%ylabel(''x_2'', ''FontSize'', 16)', ...              '%zlabel(''y'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', 'End of get_data demo.', ...  'commands', '', ...  'question', '', ...  'optional', '');% Define the commands necessary to cleanup after the demo (e.g. close figures).cleanup = 'if exist(''fig'', ''var'') if ~isempty(find(findobj(''type'',''figure'') == fig)) close(fig); end; end';

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产日日夜夜| 亚洲国产毛片aaaaa无费看 | 成人av电影免费在线播放| 亚洲一级不卡视频| 国产亚洲成aⅴ人片在线观看| 欧美三级资源在线| 成人av网站免费| 九九精品一区二区| 亚洲一区日韩精品中文字幕| 久久久综合激的五月天| 欧美猛男gaygay网站| 91啪九色porn原创视频在线观看| 九九国产精品视频| 青娱乐精品视频在线| 一级特黄大欧美久久久| 中文字幕精品一区二区三区精品| 欧美一级久久久| 欧美猛男男办公室激情| 91九色02白丝porn| 一本久久精品一区二区 | 6080午夜不卡| 91最新地址在线播放| 国产很黄免费观看久久| 国模冰冰炮一区二区| 日韩av一区二区在线影视| 亚洲一区在线电影| 亚洲欧美日韩国产中文在线| 国产一区二区三区精品欧美日韩一区二区三区 | 亚洲伊人色欲综合网| 国产免费观看久久| 国产丝袜欧美中文另类| 日韩精品一区二区三区视频在线观看| 欧美日韩另类国产亚洲欧美一级| 91久久精品日日躁夜夜躁欧美| 成人性生交大片| 国产成人免费高清| 国产aⅴ综合色| 成人午夜激情在线| 99久久久精品| 欧美在线制服丝袜| 欧美性受xxxx黑人xyx性爽| 欧洲一区二区av| 欧美二区在线观看| 欧美日韩国产欧美日美国产精品| 欧美精品自拍偷拍动漫精品| 欧美日韩国产中文| 日韩一区二区在线看| 欧美成人精品3d动漫h| 91精品国产综合久久精品麻豆| 欧美性受极品xxxx喷水| 91在线播放网址| 亚洲国产精品久久人人爱蜜臀| 亚洲欧美一区二区三区极速播放 | 69堂国产成人免费视频| 欧美日韩性生活| 欧美一区二区三区思思人| 欧美精品一二三区| 欧美第一区第二区| 热久久国产精品| 国产精品99久久久久久久vr| 成人网男人的天堂| 欧美在线一二三四区| 日韩欧美国产麻豆| 国产欧美一区二区三区网站| 亚洲日穴在线视频| 亚洲va韩国va欧美va| 精品亚洲国内自在自线福利| 国产99久久久精品| 日本韩国精品一区二区在线观看| 热久久久久久久| 五月婷婷久久丁香| 肉色丝袜一区二区| 久久99九九99精品| 99国产精品99久久久久久| 欧美色图免费看| 国产午夜精品久久久久久久| 一区二区三区四区激情| 久久精品国产**网站演员| a级精品国产片在线观看| 911精品国产一区二区在线| 中文字幕av一区二区三区| 亚洲国产人成综合网站| 国产一区二区精品久久| 91啪亚洲精品| 久久综合久色欧美综合狠狠| 亚洲三级电影网站| 激情五月激情综合网| 色伊人久久综合中文字幕| 久久五月婷婷丁香社区| 亚洲九九爱视频| 国产又黄又大久久| 欧美日韩不卡一区| 中文在线资源观看网站视频免费不卡| 亚洲在线视频一区| 成人理论电影网| 亚洲夂夂婷婷色拍ww47| 激情伊人五月天久久综合| 欧美在线制服丝袜| 18涩涩午夜精品.www| 狠狠色综合色综合网络| 欧美亚洲一区三区| 中文字幕日韩精品一区| 狠狠色丁香婷婷综合久久片| 欧美日韩精品福利| 一区二区三区四区激情| caoporm超碰国产精品| 久久久精品国产免费观看同学| 偷拍与自拍一区| 色噜噜狠狠色综合中国| 国产拍揄自揄精品视频麻豆| 免费看黄色91| 欧美日韩国产一级| 亚洲精品视频一区二区| 成人三级在线视频| 久久久久久**毛片大全| 久久精品国产精品亚洲综合| 欧美主播一区二区三区| 亚洲视频你懂的| 成人h版在线观看| 久久精品一区二区三区不卡牛牛| 日韩在线a电影| 精品视频999| 亚洲国产综合人成综合网站| 色拍拍在线精品视频8848| 亚洲欧洲无码一区二区三区| 成人免费视频app| 国产欧美一区在线| 国产成人夜色高潮福利影视| 久久女同精品一区二区| 国产精品综合网| 26uuu国产日韩综合| 国产在线国偷精品免费看| 精品久久久久久久久久久院品网| 免费成人你懂的| 欧美va亚洲va在线观看蝴蝶网| 婷婷中文字幕一区三区| 在线播放视频一区| 日韩不卡一区二区三区| 欧美哺乳videos| 国产精品亚洲成人| 国产精品久久夜| 在线观看视频欧美| 亚洲午夜av在线| 日韩视频中午一区| 555www色欧美视频| 国内成人免费视频| 国产女主播一区| 91视视频在线直接观看在线看网页在线看 | 国产另类ts人妖一区二区| 欧美精品日韩综合在线| 日日夜夜免费精品| 日韩一区二区免费在线电影| 激情久久五月天| 国产欧美视频一区二区三区| 成人h动漫精品一区二| 亚洲黄一区二区三区| 欧美日韩一卡二卡| 美国欧美日韩国产在线播放| 日韩一区二区精品葵司在线| 久久成人免费网| 国产精品成人在线观看| 91精品福利在线| 美日韩一区二区| 国产欧美精品一区二区色综合 | 日韩黄色片在线观看| 精品捆绑美女sm三区| 国产91富婆露脸刺激对白| 亚洲欧美日韩国产另类专区| 欧美日本高清视频在线观看| 韩日av一区二区| 亚洲人成影院在线观看| 91精品国产一区二区三区| 国产精品一区二区三区99| 一区二区三区四区国产精品| 成人午夜电影久久影院| 国内精品国产成人国产三级粉色| 一本一道久久a久久精品综合蜜臀 一本一道综合狠狠老 | 亚洲乱码国产乱码精品精的特点| 欧美日韩高清一区二区三区| 国产一区二区三区观看| 夜夜嗨av一区二区三区中文字幕| 日韩一级免费观看| 色综合亚洲欧洲| 精品一区二区三区在线观看| 日韩毛片一二三区| 欧美电影免费观看高清完整版| 91免费视频网址| 韩国精品免费视频| 亚洲精品国产一区二区三区四区在线| 日韩精品一区二区三区swag| 色婷婷综合五月| 国产精品一区二区黑丝| 视频一区视频二区中文| 日韩一区日韩二区| 欧美精品一区二区三区蜜桃视频 | 亚洲国产日韩一级| 国产精品夫妻自拍| 欧美一区二区三区免费| 一本色道久久综合精品竹菊| 国产麻豆视频精品|