Hi I'm new to Matlab and was trying to plot a graph of 2^n but havn't been able to.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sara Renmiu
el 17 de Mayo de 2020
Respondida: Abdolkarim Mohammadi
el 19 de Mayo de 2020
.
2 comentarios
Priyanshu Mishra
el 19 de Mayo de 2020
Hi Sara,
Just for clarification , can you share your code, what you have tried so far ?
Respuesta aceptada
Abdolkarim Mohammadi
el 19 de Mayo de 2020
For example for the range [-5,5]
x = linspace (-5,5,101);
y = 2 .^ x;
plot (x,y);
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots 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!