Matrix dimension problem with integrals
조회 수: 7 (최근 30일)
이전 댓글 표시
Matrix dimensions must agree. Can't figure out what's the prob. Tried a lot,but nothing helped.
댓글 수: 0
채택된 답변
Star Strider
2017년 10월 7일
The easiest way to solve that is to use the linspace function to define ‘x’ and ‘y’. It allows you to specify the length of the vector, varying the increment to accomodate that. (The colon operator fixes the increment and lets the length vary.)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!