how rename the cell ?

8 vues (au cours des 30 derniers jours)
Muhannad Saleh
Muhannad Saleh le 18 Fév 2021
Commenté : Walter Roberson le 18 Fév 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 commentaires
Matt J
Matt J le 18 Fév 2021
Modifié(e) : Matt J le 18 Fév 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 le 18 Fév 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by