Plot the function on graph

3 ビュー (過去 30 日間)
Ekta
Ekta 2025 年 2 月 7 日
回答済み: Star Strider 2025 年 2 月 7 日

y = sqrt(9x + b) forina-2, b = 3 (i1) a = 3 , b = 2 (m) * a = 2 , b = 2 over the interval [0,5]

回答 (2 件)

Sam Chak
Sam Chak 2025 年 2 月 7 日
Look up the documentation plot(). There are plenty of simple examples that you can learn to plot it yourself.

Star Strider
Star Strider 2025 年 2 月 7 日
Consiider fplot.
I have n o idea what ‘forina’ refers to, however the rest is straightforward —
b = 2;
y = @(x) sqrt(9*x + b);
figure
fplot(y, [0 5])
grid
Also see the documentation on Anonymous Functions if you are not familiar with them.
.

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

タグ

製品


リリース

R11.1

Community Treasure Hunt

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

Start Hunting!

Translated by