how to write exponential power?

14 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Labels and Styling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by