How do you return the value of one vector at specified value of another vector
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Matt J
2017-1-26
编辑:Matt J
2017-1-26
It's not entirely clear what you mean. Possibly, you want this
A(B==805)
or you could mean,
A(B)
更多回答(1 个)
John D'Errico
2017-1-26
Why have you not tried the obvious? What does
A(B)
provide?
It appears that you need to spend time reading the getting started tutorials for MATLAB if you do not understand how to use an index.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!