Community Profile

photo

sks2


Clemson University

Last seen: mehr als 3 Jahre vor Aktiv seit 2016

Followers: 0   Following: 0

Kontakt

Statistiken

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

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

fast 6 Jahre vor | 0

| akzeptiert

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort