generating numbers with fixed difference

조회 수: 1 (최근 30일)
SreeHarish Muppirisetty
SreeHarish Muppirisetty 2013년 10월 22일
답변: Shashank Prasanna 2013년 10월 22일
I have my lower and upper bound numbers. 0 and 100 respectively. I want to generate numbers within these bounds with a fixed difference between successive numbers, say 0.1. Is there any Matlab function that does this?
Thank you Harish

채택된 답변

Shashank Prasanna
Shashank Prasanna 2013년 10월 22일
You can use simple indexing or linspace:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by