Matrix dimension problem with integrals

조회 수: 7 (최근 30일)
Movileanu Vladislav
Movileanu Vladislav 2017년 10월 7일
답변: Star Strider 2017년 10월 7일
Matrix dimensions must agree. Can't figure out what's the prob. Tried a lot,but nothing helped.

채택된 답변

Star Strider
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개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by