Matrix dimension problem with integrals

11 次查看(过去 30 天)
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