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

1 visualizzazione (ultimi 30 giorni)
how can i do this please help
0<a<1 and draw graph of y=a^x
  1 Commento
James Tursa
James Tursa il 4 Ott 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 ...?

Accedi per commentare.

Risposta accettata

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

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by