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 Center および File ExchangeGraph and Network Algorithms についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by