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

📄 mch04-24.txt

📁 matlab 图象处理
💻 TXT
字号:
组合函数图

x = linspace(0,2*pi,60);
a = sin(x);
b = cos(x);
stem_handles = stem(x,a+b);

hold on
plot_handles = plot(x,a, '^r',x,b, '*g');
hold off
legend_handles = [stem_handles(1);plot_handles];
legend(legend_handles,'a + b','a = sin(x)','b = cos(x)')
xlabel('时 间 ( 微 秒 )')
ylabel('Magnitude')
title('两 个 函 数 的 线 性 组 合')

⌨️ 快捷键说明

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