how to write exponential power?

8 views (last 30 days)
기훈 강
기훈 강 on 10 Aug 2021
Answered: KSSV on 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

Accepted Answer

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

More Answers (0)

Categories

Find more on Labels and Styling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!