Help me about plot y = 1/x
显示 更早的评论
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
采纳的回答
更多回答(1 个)
Shreedhar Sarda
2022-1-15
0 个投票
Plot the function y=1/x in domain -2 to 2. At what point this function is not continuous?
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!