How to find/present all of the grid points xi, where xi = 2+(i-1)*2 for 0<=i<=n.
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm trying to figure out how to display the value of from x(0) to x(n)
댓글 수: 0
채택된 답변
Star Strider
2017년 4월 15일
This vectorises easily enough:
i = 0:7;
xi = 2+(i-1)*2
xi =
0 2 4 6 8 10 12 14
Am I not understanding something in your Question?
댓글 수: 2
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!