octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59636] iqr function does not produce Matlab c


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #59636] iqr function does not produce Matlab compatible output
Date: Mon, 7 Dec 2020 20:22:53 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

Follow-up Comment #2, bug #59636 (project octave):

just adding on, I misread the input order for diff. the following produces a
fairly matlab compatible iqr for normal array inputs:



function z = iqr(x,dim)
  z = diff(prctile(x,[25 75],dim),[],dim)
endfunction


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59636>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]