Matrix dimension problem with integrals

7 Ansichten (letzte 30 Tage)
Movileanu Vladislav
Movileanu Vladislav am 7 Okt. 2017
Beantwortet: Star Strider am 7 Okt. 2017
Matrix dimensions must agree. Can't figure out what's the prob. Tried a lot,but nothing helped.

Akzeptierte Antwort

Star Strider
Star Strider am 7 Okt. 2017
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.)

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by