I get an error when I plot it
1 次查看(过去 30 天)
显示 更早的评论
clc, clear
syms x;
f(x) = (x)
g(x) = (x).^2
h(x) = (x).^3
i(x) = (x).^4
j(x) = (x).^5
k(x) = diff(f(x))
l(x) = diff(g(x))
m(x) = diff(h(x))
n(x) = diff(i(x));
o(x) = diff(j(x));
figure(1)
subplot(2,6,1)
plot(f,[-2,2])
subplot(2,6,2)
plot(g(x),x)
I need help with subplotting all of this functions in an interval [-2,2]
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!