したがって、MATLAB で heaviside 関数と ezplot 関数を使用して区分関数である f(t) をプロットしようとしています。現在、私はMATLABにまったく慣れていません。このエラーが発生する理由を誰かが知っていれば、それは役に立ちます。
f = '12+(-2t+8)*ヘヴィサイド(t-2)+(2t-12)*ヘヴィサイド(t-6)'
f = 12+(-2t+8)*ヘビシド(t-2)+(2t-12)*ヘビシド(t-6)
ezplot(f)
inlineeval の使用エラー (15 行目) インライン式のエラー ==> 12+(-2t+8).*heaviside(t-2)+(2t-12).*heaviside(t-6) エラー: 予期しない MATLAB 式です。
inline/feval のエラー (34 行目) INLINE_OUT_ = inlineeval(INLINE_INPUTS_, INLINE_OBJ_.inputExpr, INLINE_OBJ_.expr);
ezplotfeval のエラー (52 行目) z = feval(f,x(1));
ezplot>ezplot1 のエラー (469 行目) [y, f, loopflag] = ezplotfeval(f, x);
ezplot のエラー (145 行目) [hp, cax] = ezplot1(cax, f{1}, vars, labels, args{:});