I'm having matrix dimensions must agree error
Screen Shot 2019-10-29 at 10.47.36 PM.png

댓글 수: 1

James Tursa
James Tursa 2019년 10월 30일
편집: James Tursa 2019년 10월 30일
Please don't post pictures of code. We can't copy and paste pictures into MATLAB and run it. Instead, copy your code as text, highlight it, and then press the CODE button to format it.

댓글을 달려면 로그인하십시오.

 채택된 답변

James Tursa
James Tursa 2019년 10월 30일
편집: James Tursa 2019년 10월 30일

0 개 추천

Well, tau is only two elements and w is a lot more than that, so you can't multiply them element-wise like you are attempting to do. Maybe you wanted to use tau(t) inside your for-loop instead of tau? And for plotting, maybe just x instead of x(w)?

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2019년 10월 30일

댓글:

2019년 10월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by