为什么我没有在 MATLAB 中获得功率 (Px) 和能量 (Ex) 信号的正确(数字)值?

问题描述 投票:0回答:0

我正在考虑 MATLAB 中的能量信号,因为我正在阅读 alex palamides 的书“Signals and Systems Laboratory with MATLAB”

我的Matlab代码如下:

clc;clear;close all
syms t T
x=heaviside(t)-heaviside(t-1);
d=int(abs(x)^2,t,-T,T);
Px=limit((1/(2*T))*d,T,inf)
Ex=limit(d,T,inf)

我还附上了我的输出快照和书中的相关问题

MATLAB SNAP

BOOK SNAP

matlab signal-processing
© www.soinside.com 2019 - 2024. All rights reserved.