How can I append multiple elements to the end of a vector?
Mostra commenti meno recenti
When creating a random vector how can I create a new vector with all of the same elements of the first vector, but with the elements greater than or equal to a certain number appended to the end?
For example
>> A=randi([0 10],1,20)
And then the new vector would have the same elements as A except all of the elements >=6 would be appended to the end of the vector.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Networks in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!