이전 댓글 표시
[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相乘不了
답변 (1개)
埃博拉酱
2024년 11월 7일
0 개 추천
乘法要用乘号.*,不能像在数学表达式那样中省略乘号
카테고리
도움말 센터 및 File Exchange에서 MATLAB 快速入门에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!