The initialisation of this matrix which the colon operator
조회 수: 1 (최근 30일)
이전 댓글 표시
if my matrix is: B = [ 0 4 8 12 16 20 24 28 32 36 40]
would the correct initialisation be: B=0:4:20??
댓글 수: 0
답변 (1개)
Walter Roberson
2015년 12월 2일
No, but you are headed in the right direction. You will immediately see the problem when you try your code.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!