필터 지우기
필터 지우기

simple matlab command m=1:10 going up in values of 0.5

조회 수: 28 (최근 30일)
ahmed lamak
ahmed lamak 2016년 9월 1일
답변: Geoff Hayes 2016년 9월 1일
This is very silly but how would i make m=1:10 be values from 1 to 10 but instead of going up in integers go up in values of 0.5.
i.e. m =1 , 1.5, 2 , ..., 9.5 , 10

채택된 답변

Geoff Hayes
Geoff Hayes 2016년 9월 1일
ahmed - just try
m = 1:0.5:10;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by