필터 지우기
필터 지우기

I am very new to Matlab and was wondering how to graph the function y= (x-1)/(x+1)

조회 수: 10 (최근 30일)
Shai
Shai 2017년 7월 30일
답변: MSP 2017년 7월 30일
I have written the code: x= -5:5; y= (x - 1)/(x + 1); plot(x,y)
It does not come up with any errors but when I select Run my graph does not show

채택된 답변

MSP
MSP 2017년 7월 30일
Just include a . before division
x= -5:5
y= (x - 1)./(x + 1)
plot(x,y)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by