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

2 次查看(过去 30 天)
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);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Directed Graphs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by