What is a good way to check if a array had expanded?
3 ビュー (過去 30 日間)
古いコメントを表示
Hi All,
I have a expanding array that add in the current temperature value everytime my temperature sensor detect the current temperature to be 10°C and below. I would like to ask what is a good way to check if my array had expanded, example from 33 to 34 element?
Thank You!
0 件のコメント
回答 (1 件)
the cyclist
2017 年 3 月 20 日
編集済み: the cyclist
2017 年 3 月 20 日
Be aware, though, that organically "growing" an array like that, especially if it is large, will lead to poor memory usage, and slow execution time.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!