Problem 1973. Reassign cell contents to empty variables, preserving cell content data type
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
Dyuman Joshi
on 18 Nov 2021
I tried using eval but it is not supported in any format. Sigh
-
2 Comments
Alfonso Nieto-Castanon
on 8 Nov 2013
when the variable is a struct it is unclear whether "preserving the data type" should preserve the field names or not (testsuite expects the latter)
Ken Deeley
on 12 Nov 2013
Structure field names are not required to be preserved.
Problem Recent Solvers18
Suggested Problems
-
Find the alphabetic word product
2899 Solvers
-
Count from 0 to N^M in base N.
233 Solvers
-
128 Solvers
-
Vectorizing, too easy or too hard?
140 Solvers
-
561 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!