diff operation generating error Subscript indices must either be real positive integers or logicals
2 ビュー (過去 30 日間)
古いコメントを表示
I have a time vector which I have attached in a .mat file.
diff(time) generates the following error: Subscript indices must either be real positive integers or logicals.
time is a vector, it does not contain values to be interpreted as indices. Why is this occurring & how can I correct it?
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!