must return a column vector
4 ビュー (過去 30 日間)
古いコメントを表示
I was drawing a vector field using phaplane, but I cannot draw any specific solution curve
>> g = @(t,Y) [Y(2), -Y(1)]
>> phaseplane(g, [-10,10], [-10,10], 25)
>> hold on
>> drawphase(g, 50, 3, 4)
Error using odearguments (line 93)
@(T,Y)[Y(2),-Y(1)] must return a column vector.
Error in ode45 (line 115)
odearguments(FcnHandlesUsed, solver_name, ode, tspan, y0, options, varargin);
Error in drawphase (line 20)
[ts,ys] = ode45(g,[0,tmax],[y1start;y2start]);
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!