Adding additional column into the array
Mostra commenti meno recenti
Hi,
I have two arrays A, B of size 100 x 3 and 100 x 5 . Here I would like to copy the entries in the fifth column of B array to fourth coulmn in A. So finnaly A becomes 100 x 4.
Any idea how to do this..??
Risposta accettata
Più risposte (1)
Mathieu NOE
il 8 Apr 2022
hello
simply this
Anew = [A B(:,5)];
1 Commento
Turbulence Analysis
il 8 Apr 2022
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!