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.
我想使用 ezplot() 在 MATLAB 中绘制以下三个函数,但我希望这些函数位于同一张图上以轻松解释差异。这可能吗?如果是这样怎么办?这三个功能是:
x^3 x^5 x^7
谢谢, 神秘客
只需使用hold on在相同的轴上连续绘制它们:
hold on
figure; hold on; ezplot('x^3'); ezplot('x^5'); ezplot('x^7');