ui_acluster.m
来自「基于Matlab」· M 代码 · 共 35 行
M
35 行
% keep all variables local in scope
function [] = ui_acluster();
% declare global variables
dfec_global;
ui_private_global;
if get(h_acluster,'Value')
if isempty(acluster)
warn('No adaptation has been done yet.','Cannot display cluster plot.')
else
figure(fig_acluster);
if real_source
plot(real(acluster),'.');
zoom on;
xlabel('k');
ylabel('z(k)');
title('Cluster plot');
else
subplot(211);
plot(real(acluster),'.');
xlabel('k');
title('Re z(k)');
subplot(212);
plot(imag(acluster),'.');
xlabel('k');
title('Im z(k)');
end;
end;
else
if ishandle(fig_acluster), delete(fig_acluster); end;
end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?