Insert numeric values (rx1 matrix) inside a cell
Afficher commentaires plus anciens
Hi. I would like to insert a column of 100:
rep = repmat(100,157,1);
inside the first cell (see image) so that 157x2 becomes 157x3.
The third column represents "rep".

How can I do this?
1 commentaire
Stephen23
le 11 Déc 2022
A simpler, more versatile approach is given here:
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!