How to generate values between 5 and 4 with difference 0.1 without subtract symbol?

조회 수: 2 (최근 30일)
I want something like this [5:0.1:4] = 5 4.9 4.8 4.7.....4.1 4
Thank you

채택된 답변

Birdman
Birdman 2018년 6월 7일

추가 답변 (1개)

Walter Roberson
Walter Roberson 2018년 6월 7일
fliplr(4:0.1:5)
Though it is not clear to me why you do not just use 5:-0.1:4

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by