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

1 Ansicht (letzte 30 Tage)
how can i do this please help
0<a<1 and draw graph of y=a^x
  1 Kommentar
James Tursa
James Tursa am 4 Okt. 2022
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 ...?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Benjamin Thompson
Benjamin Thompson am 4 Okt. 2022
x = 1:5;
a = 2;
y = a.^x;
plot(x, y);

Weitere Antworten (0)

Kategorien

Mehr zu Networks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by