How could I write in a vector something in a position different to a given one?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Juan Manuel Hussein Belda
il 15 Ott 2021
Commentato: Juan Manuel Hussein Belda
il 15 Ott 2021
v = [1,2,3,4,5]
idx = 3;
What I would like to do is get v = [NaN, NaN, 3, NaN, NaN];
How could I do it?
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical 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!