How to decode a cell type variable to a decimal?
显示 更早的评论
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?
回答(1 个)
Tala
2021-5-5
0 个投票
Das= cell2mat(das);
power =3+ sqrt(Das.*Das);
类别
在 帮助中心 和 File Exchange 中查找有关 Time Series 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!