How to fill a matrix with numbers from a to b ?

조회 수: 30 (최근 30일)
Sarah A
Sarah A 2018년 10월 6일
답변: Bruno Luong 2018년 10월 6일
Hello,
how to fill a matrix with numbers from a=4 to b=40 with increasing factor c=2 for example:
4,6,8,......,38,40.
regards,

채택된 답변

Bruno Luong
Bruno Luong 2018년 10월 6일
A = 4:2:40

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by