0
我試圖繪製用下面的代碼的2階線性微分方程:麻煩繪製matlabFunction(dsolve())
t = 0:0.1:10;
y = matlabFunction(dsolve('D2y + 4 * Dy + 4 * y = 0', 'y(0) = 0', 'Dy(0) = 0', 't'));
plot(t, y(t));
,但我得到了以下錯誤:
Error using sym.matlabFunction>@()0.0
Too many input arguments.
知道爲什麼?