cell into a cell
Mostra commenti meno recenti
I have a 1x3 cell called 'Data' where each of the cells are made up of a 2x1 cell. I want to combine 'Data' with another 1x3 cell called 'Named'. I basically want 'Data' to be cells within the cells in 'Named'. So in the command window you will have a 1x3 cell called 'Named' then by clicking on this variable you will then get the 1x3 cell originally in 'Named' then by clicking on the appropriate cell you will get the relevant 2x1 cell which was originally in 'Data'.
If this isn't clear enough i'll attempt to make an idealised example to make it clearer.
4 Commenti
Image Analyst
il 16 Gen 2012
Have you ever heard anyone say "No thanks, I would not like an example to make it clearer"?
Matt Tearle
il 16 Gen 2012
To me it sounds like Named is just a copy of Data. I second Image Analyst's request for an example.
Walter Roberson
il 16 Gen 2012
I think I've said that ;-)
Richard
il 16 Gen 2012
Risposta accettata
Più risposte (1)
Titus Edelhofer
il 16 Gen 2012
Hi,
I guess
Named(1:3) = {Data};
is too simple?
Titus
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!