plot_process.m

来自「模式识别matlab工具箱,包括SVM,ICA,PCA,NN等等模式识别算法,很」· M 代码 · 共 20 行

M
20
字号
function plot_process(mu)

%Plot the mu's during an algorithm's execution
%Inputs:
%   mu - The location of points
% No outputs

h = findobj('UserData','mu');

if (~isempty(h)),
    delete(h)
end

if (~isempty(mu))
    h = plot(mu(1,:),mu(2,:),'ro');
    set(h,'UserData','mu');
end
    
drawnow
    

⌨️ 快捷键说明

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