필터 지우기
필터 지우기

The initialisation of this matrix which the colon operator

조회 수: 1 (최근 30일)
Zachary Holmes
Zachary Holmes 2015년 12월 2일
답변: Walter Roberson 2015년 12월 2일
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??

답변 (1개)

Walter Roberson
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.

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by