bugGNU Octave - Bugs: bug #50571, sum with omitnan and includenan...

 
 

bug #50571: sum with omitnan and includenan arguments

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Fri 17 Mar 2017 09:41:35 PM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  4.4.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 17 Mar 2017 09:41:35 PM UTC, original submission:  

This is basically the same issue as bug #50007.

Matlab provides optional string arguments to some core functions that allow you to omit NaN values. Please excuse the cut & paste job... the result of a search for "nanflag" in the matlab online documentation.

I'm fairly sure most of these derive from the fundamental sum, median, min, max functions so the list is almost certainly redundant.

median - Median value of array
This MATLAB function returns the median value of A.

min - Smallest elements in array
This MATLAB function returns the smallest elements of A.

max - Largest elements in array
This MATLAB function returns the largest elements of A.

sum - Sum of array elements
This MATLAB function returns the sum of the elements of A along the first array dimension whose size does not equal 1.

mean - Average or mean value of array
This MATLAB function returns the mean of the elements of A along the first array dimension whose size does not equal 1.

std - Standard deviation
This MATLAB function returns the standard deviation of the elements of A along the first array dimension whose size does not equal 1.

bounds - Smallest and largest elements
This MATLAB function returns the smallest element S and largest element L of an array.

cov - Covariance
This MATLAB function returns the covariance.

var - Variance
This MATLAB function returns the variance of the elements of A along the first array dimension whose size does not equal 1.

prod - Product of array elements
This MATLAB function returns the product of the array elements of A.

cummin - Cumulative minimum
This MATLAB function returns the cumulative minimum elements of A.

cummax - Cumulative maximum
This MATLAB function returns the cumulative maximum elements of A.

cumprod - Cumulative product
This MATLAB function returns the cumulative product of A starting at the beginning of the first array dimension in A whose size does not equal 1.

cumsum - Cumulative sum
This MATLAB function returns the cumulative sum of A starting at the beginning of the first array dimension in A whose size does not equal 1.

movmean - Moving mean
This MATLAB function returns an array of local k-point mean values, where each mean is calculated over a sliding window of length k across neighboring elements of A.

movmax - Moving maximum
This MATLAB function returns an array of local k-point maximum values, where each maximum is calculated over a sliding window of length k across neighboring elements of A.

movmedian - Moving median
This MATLAB function returns an array of local k-point median values, where each median is calculated over a sliding window of length k across neighboring elements of A.

movmin - Moving minimum
This MATLAB function returns an array of local k-point centered minimum values, where each minimum is calculated over a sliding window of length k across neighboring elements of A.

movsum - Moving sum
This MATLAB function returns an array of local k-point sums, where each sum is calculated over a sliding window of length k across neighboring elements of A.

medfilt1 - 1-D median filtering
This MATLAB function applies a third-order one-dimensional median filter to the input vector, x.

movstd - Moving standard deviation
This MATLAB function returns an array of local k-point standard deviation values.

movvar - Moving variance
This MATLAB function returns an array of local k-point variance values, where each variance is calculated over a sliding window of length k across neighboring elements of A.

movprod - Moving product
This MATLAB function returns an array of local k-point products, where each product is calculated over a sliding window of length k across neighboring elements of A.

movmad - Moving median absolute deviation
This MATLAB function returns an array of local k-point median absolute deviations (MADs), where each MAD is calculated over a sliding window of length k across neighboring elements of A.

smoothdata - Smooth noisy data
This MATLAB function returns a moving average of the elements of a vector using a fixed window length that is determined heuristically.

Ceral Paquet <octavebugs>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by octavebugs (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-21 rik5 Dependencies- => bugs #57871 is dependent
    2018-05-03 siko1056 StatusNone => Confirmed
        Release4.2.1 => 4.4.0
    2018-03-30 mtmiller CategoryNone => Octave Function
        Item GroupNone => Matlab Compatibility
    2017-03-17 rik5 Dependencies- => Depends on bugs #50007

    Back to the top


    Powered by Savane 3.5