photo

sks2


Clemson University

Last seen: 5 years ago Active since 2016

Followers: 0   Following: 0

Message

Statistics

MATLAB Answers

2 Questions
1 Answer

RANK
71,037
of 300,771

REPUTATION
0

CONTRIBUTIONS
2 Questions
1 Answer

ANSWER ACCEPTANCE
100.0%

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,969

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

  • Thankful Level 1

View badges

Feeds

View by

Answered
Take value from vector as a relative column-based position for indexing to a corresponding matrix
I wanted to just edit the response with a simple, vectorized approach to this problem. Since we know the range of values of a...

7 years ago | 0

| accepted

Question


Take value from vector as a relative column-based position for indexing to a corresponding matrix
Let's say we have a vector "a" with a range of numbers from 1 to 5, and is 100 elements in length. a = randi([1 5],100,1) ...

7 years ago | 1 answer | 0

1

answer

Question


How would I find where the median value of a matrix occurs?
Lets say you have a matrix, X=[1,2,3,4,5,6,7,8,9]. Obviously, the median is 5, and occurs at X(1,5). I don't care what the...

9 years ago | 1 answer | 0

1

answer