Simple question but i can't do it i just started using matlab

1 回表示 (過去 30 日間)
Huseyin Kaan
Huseyin Kaan 2022 年 10 月 4 日
コメント済み: James Tursa 2022 年 10 月 4 日
how can i do this please help
0<a<1 and draw graph of y=a^x
  1 件のコメント
James Tursa
James Tursa 2022 年 10 月 4 日
What have you done so far? What specific problems are you having with your code? A single graph? Or multiple x-y graphs for various values of a? Or ...?

サインインしてコメントする。

採用された回答

Benjamin Thompson
Benjamin Thompson 2022 年 10 月 4 日
x = 1:5;
a = 2;
y = a.^x;
plot(x, y);
  1 件のコメント
Benjamin Thompson
Benjamin Thompson 2022 年 10 月 4 日
Fee free to change the value of a since you wanted it 0 < a < 1.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by