Help me about plot y = 1/x
조회 수: 18 (최근 30일)
이전 댓글 표시
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
채택된 답변
추가 답변 (1개)
Shreedhar Sarda
2022년 1월 15일
Plot the function y=1/x in domain -2 to 2. At what point this function is not continuous?
댓글 수: 0
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!