matlab怎么画幂函数x的1/3次幂

如题所述

第1个回答  2010-04-10
x=linspace(-5,5);
y=nthroot(x,3);
plot(x,y)
第2个回答  2010-04-10
x=-5:0.1:5;
y=x^(1/3);
plot(x,y)本回答被提问者采纳