Hi I'm new to Matlab and was trying to plot a graph of 2^n but havn't been able to.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sara Renmiu
am 17 Mai 2020
Beantwortet: Abdolkarim Mohammadi
am 19 Mai 2020
.
2 Kommentare
Priyanshu Mishra
am 19 Mai 2020
Hi Sara,
Just for clarification , can you share your code, what you have tried so far ?
Akzeptierte Antwort
Abdolkarim Mohammadi
am 19 Mai 2020
For example for the range [-5,5]
x = linspace (-5,5,101);
y = 2 .^ x;
plot (x,y);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots 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!