how to write exponential power?

8 Ansichten (letzte 30 Tage)
기훈 강
기훈 강 am 10 Aug. 2021
Beantwortet: KSSV am 10 Aug. 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

Akzeptierte Antwort

KSSV
KSSV am 10 Aug. 2021
x = linspace(0,10) ;
y=2.^x ;
plot(x,y)

Weitere Antworten (0)

Kategorien

Mehr zu Labels and Styling 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!

Translated by