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

📄 plot2.m

📁 模式识别 MATLAB 的工具箱,比较实用,包括SVM,ICA,PCA,NN等等模式识别算法.
💻 M
字号:
%PLOT2 Plot row 1 against row 2% % 	plot2(x,s)% % Plot x(1,:) against x(2,:) with plotstring s. plot2 returns the % returns of plot. Defaults s = 'b-'. This command is useful for % plotting roc-curves and reject curves.% % See also roc, reject% Copyright: R.P.W. Duin, duin@ph.tn.tudelft.nl% Faculty of Applied Physics, Delft University of Technology% P.O. Box 5046, 2600 GA Delft, The Netherlandsfunction V = plot2(x,s)if nargin == 1, s='b-'; end[n,k] = size(x);VV = [];m = floor(n/2);if size(s,1) == 1	s = repmat(s,m,1);elseif size(s,1) ~= m	error('Wrong number of plot strings');endh = ishold;for i=1:floor(n/2);	v = plot(x(2*i-1,:),x(2*i,:),char(s(i,:)));	hold on;	VV = [VV;v];end%axis equalaxis([0 1 0 1])if ~h hold off; endif nargout == 1, V = VV; end

⌨️ 快捷键说明

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