医学信号处理实验报告
班级:生医1201
姓名:葛然
学号:12282002
实验一:
基本函数图形(书上有参考代码,不再赘述)
1
2
第一题(书上有参考代码,不再赘述)
3
第二题第一小题
源代码:
n=-10:0.5:10;
x1=n.*n.*([n>=-5]-[n>=6]); subplot(2,2,1); stem(n,x1);
title('n*n*[u(n+5£?-u(n-6)]'); xlabel('n'); ylabel('x(n)');
x2=10.*[n==0]; subplot(2,2,2); stem(n,x2);
title('10*[n==0]'); xlabel('n'); ylabel('x(n)');
x3=20.*0.5.^n.*([n>=4]-[n>=10]); subplot(2,2,3);
4