First number that comes after a list of numbers
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Jonathan Cheong
il 8 Mar 2021
Commentato: Jonathan Cheong
il 8 Mar 2021
Hello, I have a list of numbers 'indexstart'. I would like to find the 1st number that comes after these number from another list 'indend' and append them both in different columns.
For example:
A = [1, 8, 20]
B = [4, 5, 6, 9, 25, 30]
The output would be:
[1, 4]
[8, 9]
[20, 25]
Thanks in advance.
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Entering Commands 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!