Column with constant value
Mostrar comentarios más antiguos
Hi,
I have to create a new column in my table (392x 7).
Every row of that new column has to contain the value 2. How can I create a new column in my table with the constant value 2?
I am new with Matlab and would appreciate any help!
Respuestas (1)
Cris LaPierre
el 9 de Oct. de 2021
0 votos
Simple assignment. See how to access data in a table, as well as ch 4 of MATLAB Onramp (creating vectors).
1 comentario
Celina Brinkmann
el 10 de Oct. de 2021
Categorías
Más información sobre Tables 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!