Where do I use the periods when multiplying a function by a Vector?
Show older comments
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?
Answers (1)
madhan ravi
on 26 Feb 2019
x=linspace(-4,4);
f=x+(1./x.^2-1);
plot(x,f)
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!