How to generate values between 5 and 4 with difference 0.1 without subtract symbol?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Akshay Kumar Kumaraswamy
il 7 Giu 2018
Commentato: Akshay Kumar Kumaraswamy
il 7 Giu 2018
I want something like this [5:0.1:4] = 5 4.9 4.8 4.7.....4.1 4
Thank you
0 Commenti
Risposta accettata
Più risposte (1)
Walter Roberson
il 7 Giu 2018
fliplr(4:0.1:5)
Though it is not clear to me why you do not just use 5:-0.1:4
Vedere anche
Categorie
Scopri di più su Matrices and Arrays in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!