Sketch the graph using matlab

조회 수: 1 (최근 30일)
Tai Hieu
Tai Hieu 2023년 4월 17일
답변: Star Strider 2023년 4월 17일
Using Matlab to sketch the graph of y= (x^3-1)/(√x - 3).
  댓글 수: 1
Tai Hieu
Tai Hieu 2023년 4월 17일
I’ve just finished my hand-written solving but i’m not good at matlab so i need you to solve the problem by using matlab. Thank u so much🥰

댓글을 달려면 로그인하십시오.

답변 (1개)

Star Strider
Star Strider 2023년 4월 17일
Use the linspace function to create the ‘x’ vector.
Use element-wise operations to calculate ‘y’:
y = (x.^3-1)./(sqrt(x) - 3)
See Array vs. Matrix Operations for details.
Use the plot function for that part.
.

카테고리

Help CenterFile Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by