how to write exponential power?

조회 수: 8 (최근 30일)
기훈 강
기훈 강 2021년 8월 10일
답변: KSSV 2021년 8월 10일
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