Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
fplot2 つの無名関数を作成し、1 つのステートメントを使用してそれらをプロットしようとしています。次のコードは、単一の関数をプロットするために機能します。
fplot
f = @(x) sin(x) fplot(f, [-3, 3])
ただし、次を含めると機能しません。
g = @(x) cos(x) fplot([f, g], [-3, 3])
ここで何が問題なのか知っている人はいますか?