Hi I'm new to Matlab and was trying to plot a graph of 2^n but havn't been able to.
조회 수: 2 (최근 30일)
이전 댓글 표시
.
댓글 수: 2
Priyanshu Mishra
2020년 5월 19일
Hi Sara,
Just for clarification , can you share your code, what you have tried so far ?
채택된 답변
Abdolkarim Mohammadi
2020년 5월 19일
For example for the range [-5,5]
x = linspace (-5,5,101);
y = 2 .^ x;
plot (x,y);
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!