作业求助

[x,n]=2*impseq(4,0,20)+10*exp(-0.3(n-10)).*[stepseq(10,0,20)-stepseq(20,0,20)]
求助exp的范围也是0-20,和stepseq相乘不了

Respuestas (1)

埃博拉酱
埃博拉酱 el 7 de Nov. de 2024

0 votos

乘法要用乘号.*,不能像在数学表达式那样中省略乘号

Categorías

Más información sobre MATLAB 快速入门 en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de Mzo. de 2023

Respondida:

el 7 de Nov. de 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!