how rename the cell ?

9 visualizaciones (últimos 30 días)
Muhannad Saleh
Muhannad Saleh el 18 de Feb. de 2021
Comentada: Walter Roberson el 18 de Feb. de 2021
hello
i have cell 48x2 and i need to rename it like this
1874x5 table 1874x2 cell
2192x5 table 2192x2 cell
2091x5 table 2091x2 cell
can i change the name to with loop
p1 b1
p2 b2
p3 b3
  2 comentarios
Matt J
Matt J el 18 de Feb. de 2021
Editada: Matt J el 18 de Feb. de 2021
You seem to be under the impression that the individual cells of a cell array have names or can be given names. But they do not and cannot.
Walter Roberson
Walter Roberson el 18 de Feb. de 2021
And if the idea is that you would generate a variable name p3 from cell{3,1}, then see http://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynamically-eval

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by