Sketch the graph using matlab

Using Matlab to sketch the graph of y= (x^3-1)/(√x - 3).

1 个评论

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

0 个投票

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.
.

类别

帮助中心File 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