Insert numeric values (rx1 matrix) inside a cell
Mostrar comentarios más antiguos
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 comentario
Stephen23
el 11 de Dic. de 2022
A simpler, more versatile approach is given here:
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Resizing and Reshaping Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!