Simple question but i can't do it i just started using matlab
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Huseyin Kaan
el 4 de Oct. de 2022
Comentada: James Tursa
el 4 de Oct. de 2022
how can i do this please help
0<a<1 and draw graph of y=a^x
1 comentario
James Tursa
el 4 de Oct. de 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 ...?
Respuesta aceptada
Benjamin Thompson
el 4 de Oct. de 2022
x = 1:5;
a = 2;
y = a.^x;
plot(x, y);
1 comentario
Benjamin Thompson
el 4 de Oct. de 2022
Fee free to change the value of a since you wanted it 0 < a < 1.
Más respuestas (0)
Ver también
Categorías
Más información sobre Graph and Network Algorithms en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!