How to define an array with fractional index number in MATLAB?
7 次查看(过去 30 天)
显示 更早的评论
How to define an array with fractional index number in MATLAB?
5 个评论
回答(2 个)
Adam
2016-12-14
'have to' for what purpose?
Use
doc containers.Map
if you want to set up a finite lookup table of results to index into without using integer lookups.
But if your code is sufficiently fast then a function works fine and recalculate whatever is asked for.
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!