Statistics
MATLAB Answers
0 Questions
1 Answer
RANK
284,561
of 300,765
REPUTATION
0
CONTRIBUTIONS
0 Questions
1 Answer
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 21,084
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 170,941
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Answered
Extract only diagonal elements from matrix
For a one line solution you can use linear indices via sub2ind: v = mat(sub2ind(size(mat), 1:length(mat), 1:length(mat)); Howe...
Extract only diagonal elements from matrix
For a one line solution you can use linear indices via sub2ind: v = mat(sub2ind(size(mat), 1:length(mat), 1:length(mat)); Howe...
2 years ago | 0
