i am executing this piece of code and getting the error" X=X(:,1:2:512); Index exceeds matrix dimensions." help me to solve it.
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Stephen23
2015-3-4
编辑:Stephen23
2015-3-4
run this into your script/command window:
size(X)
what is the size of X ? Does it have three dimensions ? Are you trying to select an index for an array location that does not exist?
Did you understand the answer to your previous questions about array dimensions ?:
2 个评论
Stephen23
2015-3-4
It is no trouble for me: I come to this forum to help people with their problems.
If you answered my questions, we could probably figure out exactly what was happening in this situation.
更多回答(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!