photo

MRINAL BHAUMIK


Last seen: 4 mesi fa Attivo dal 2021

Followers: 0   Following: 0

Statistica

  • First Answer
  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Risposto
Finding the indices of duplicate values in one array
A=[ 1 1 2 3 5 6 7 6] B = A'./A B = B-diag(diag(B)) [pos1 pos2]=find(B==1) o/p pos1 = 2 1 8 6

circa 3 anni fa | 2

Domanda


Replace previous values with NaN
I have a vector with some numbers. if any of the number comes NaN then all the number before NaN will be NaN. ex. A=[1 2 3 4 Na...

oltre 3 anni fa | 1 risposta | 0

1

risposta