Multiply values in array by *-1
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Edward Keavney
il 28 Lug 2022
Commentato: Edward Keavney
il 28 Lug 2022
Hi,
I have an array 1X106. I want to be able to multiply specific entries in the array by -1.
e.g., multiplying the 16, 17 and 18 value in the array by -1 whilst still keeping the remainder of the array with the original values.
Any help would be greatly appreciated,
Thanks!
0 Commenti
Risposta accettata
Più risposte (0)
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!