Info
此问题已关闭。 请重新打开它进行编辑或回答。
Create a vector that gives the information about the locations of each element
1 次查看(过去 30 天)
显示 更早的评论
I have the vector A: A=[1 3 7], and I want to create another array, say B, that contains the locations of the elements of A. That is, B=[1 0 1 0 0 0 1] Thanks
1 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!