how to write exponential power?

8 vues (au cours des 30 derniers jours)
기훈 강
기훈 강 le 10 Août 2021
Réponse apportée : KSSV le 10 Août 2021
I want to write y=2.^x exponential function
but my matlab program doesn't work
because the function doesn't cogniz ToT
and I want to draw by using the plot sencense
y=2.^x
xinv=[0 10]
plot(x,y)
How do I that...?? plz say the answer

Réponse acceptée

KSSV
KSSV le 10 Août 2021
x = linspace(0,10) ;
y=2.^x ;
plot(x,y)

Plus de réponses (0)

Catégories

En savoir plus sur Labels and Styling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by