Help me about plot y = 1/x
4 views (last 30 days)
Show older comments
Nguyen Trong Nhan
on 21 Dec 2013
Answered: Shreedhar Sarda
on 15 Jan 2022
I want to plot the graph y = 1/x. I do in command window :
syms x y
x=0,0.1,1;
y=1/x;
plot(x,y)
I appear the error like this:
??? Error using ==> mldivide Matrix dimensions must agree
could you please help me repair this error to plot the graph y = 1/x. thanks
0 Comments
Accepted Answer
More Answers (1)
Shreedhar Sarda
on 15 Jan 2022
Plot the function y=1/x in domain -2 to 2. At what point this function is not continuous?
0 Comments
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!