photo

Hu


Attivo dal 2013

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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 ...

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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);...

circa 11 anni fa | 1 risposta | 0

1

risposta