Using cell array to define double
Mostra commenti meno recenti
Normally I create a 1x1 double as follows:
mydouble=1;
Now, say I create a cell array:
mycell = {'mydouble'}
I want to create the 1x1 double mydouble equal to 1 using the object mycell. How can I do that?
2 Commenti
Fangjun Jiang
il 24 Mag 2024
Modificato: Fangjun Jiang
il 24 Mag 2024
mydouble=1;
mycell = {mydouble}
Risposte (1)
mydouble = 1;
mycell{1} = mydouble
Categorie
Scopri di più su Logical 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!