Help with error: "??? Error using ==> minus. Matrix dimensions must agree. Error in ==> odenumjac at 148, Fdiff = Fdel - Fvalue(:,ones(1,ny));"
古いコメントを表示
Hello, I'm trying to use matlab to solve a differential algebraic system of equations (DAE), without luck. I'm trying to follow the hb1dae example but encounter this error message: "??? Error using ==> minus. Matrix dimensions must agree. Error in ==> odenumjac at 148, Fdiff = Fdel - Fvalue(:,ones(1,ny));"
Any advice on how to proceed?
2 件のコメント
Star Strider
2012 年 10 月 10 日
It would probably help if you posted the relevant parts of your code.
Specifically, what are the sizes of Fdel and Fvalue and what is the value of ny?
Colin
2012 年 10 月 10 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!