photo

Hu


自 2013 起处于活动状态

Followers: 0   Following: 0

消息

统计学

  • Thankful Level 1

查看徽章

Feeds

排序方式:

提问


How can I access element with same index from multiple cells
For example, we have a = cell(2,2); a{1} = 1:4; a{2} = 1:4; a{3} = 1:4; a{4} = 1:4; How can we access like ...

11 years 前 | 2 个回答 | 0

2

个回答

提问


How to index like A(B(i), i)
For example, A = rand(3, 5); B = [3,2,1,2,3]; and I want C like: for i = 1:size(A, 2) C(i) = A(B(i), i);...

11 years 前 | 1 个回答 | 0

1

个回答