Using cell array to define double
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Fangjun Jiang
am 24 Mai 2024
Bearbeitet: Fangjun Jiang
am 24 Mai 2024
mydouble=1;
mycell = {mydouble}
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!