Statistics
RANK
10,832
of 300,365
REPUTATION
4
CONTRIBUTIONS
1 Question
1 Answer
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
2
RANK
of 20,933
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 168,262
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Answered
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)
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)
4 years ago | 2
Question
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...
4 years ago | 1 answer | 0

