How to decode a cell type variable to a decimal?
Ältere Kommentare anzeigen
I want to implement this function:
power =3+ sqrt(das.*das);
But das is cell type (with binary digits) so when I run the "power" function I get an error:
Undefined operator '.*' for input arguments of type 'cell'.
So I want to decode the cell type variable das to a decimal so that the function can run properly. How do I do that?
Antworten (1)
Tala
am 5 Mai 2021
0 Stimmen
Das= cell2mat(das);
power =3+ sqrt(Das.*Das);
Kategorien
Mehr zu Time Series finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!