信号与系统 于慧敏 例1-2

 

课本下载 : 信号与系统 - 浙江大学课程攻略共享计划

 

clc

%  例1-2 , 用 MATLAB 画出 正弦信号 cos(2Πt+Π/6)的波形

A = 1;
w0 = 2*pi;
phi = pi/6;

t = 0:0.001:8;

x2 = A*cos(w0*t+phi);

plot(t,x2);
axis([0,8,-1,1]);
title( '正弦信号' );
xlabel('t');
ylabel('x2(t)');

fprintf( "example_1_2 end.\n" );

% 正弦信号波形

 

image

 

posted on 2025-12-10 15:30  所长  阅读(0)  评论(0)    收藏  举报

导航