Padding zeros to Existing Data
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Chockalingam Kasi
el 5 de Feb. de 2014
Editada: Azzi Abdelmalek
el 5 de Feb. de 2014
When my loaded data is a 86x14 Matrix I would like to model it to be a 90x14 where the 4 newly added rows are all zeros.. Is this possible? Without tampering with the 86x14 data.
I just need to fill them up so that an error does not pop up when my other computations go on...
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 5 de Feb. de 2014
Editada: Azzi Abdelmalek
el 5 de Feb. de 2014
A=rand(86,14) % Example
A(end+1:90,:)=0
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!