Where do I use the periods when multiplying a function by a Vector?
显示 更早的评论
for my function f(x)= x+(1/x^2-1) it tells me to plot it using vectors [-4,4]
Can anyone help me with figuring out how to use vector multiplication?
回答(1 个)
madhan ravi
2019-2-26
x=linspace(-4,4);
f=x+(1./x.^2-1);
plot(x,f)
类别
在 帮助中心 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!