Azzera filtri
Azzera filtri

Hi I'm new to Matlab and was trying to plot a graph of 2^n but havn't been able to.

2 visualizzazioni (ultimi 30 giorni)
.

Risposta accettata

Abdolkarim Mohammadi
Abdolkarim Mohammadi il 19 Mag 2020
For example for the range [-5,5]
x = linspace (-5,5,101);
y = 2 .^ x;
plot (x,y);

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by