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

📄 fg_01_05.m

📁 英文书《Digital Signal Processing with Examples in MATLAB》附带的MATLAB实例
💻 M
字号:
% stearns_01_05    Chapter 1, fig. 1.5
theta=2*pi*[0 1 2 3 4 5 6 7]/8;
rho=ones(1,8);
[x,y]=pol2cart(theta,rho);
%
sp_fig(1);
set(gcf,'paperPositionmode','auto');
axis([-1.75 1.75 -1.75 1.75]);
set(gca,'fontname','times','fontsize',18);
set(gca,'position',[.13 .15 .9-.13 .9-.15]);
%
hc=compass(x,y); hold;
set(hc,'color','k');
plot([0,0],[-1.5,1.5],'color','k');
plot([-1.5,1.5],[0,0],'color','k');
ht(1)=text(1.55,0,'Real');
ht(2)=text(-.35,1.6,'Imaginary');
ht(3)=title('Complex plane');
set(ht,'fontsize',18);
set(ht,'fontname','times');
hold off

⌨️ 快捷键说明

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