MATLAB Answers

How do I use the "omitnan' option for the Mean function when calling the function using the splitapply function?

조회 수: 7(최근 30일)
I would like to use the following command: splitapply(@mean,MyArray,G) but call the @mean function using the "omitnan" option. How can I do that? In this example, MyArray is the array that I would like to apply the mean function to after I have split it into Groups dictated by the G vector

채택된 답변

Star Strider
Star Strider 24 Feb 2020
One option:

  댓글 수: 1

로그인 to comment.

추가 답변(0개)

이 질문에 답변하려면 로그인을(를) 수행하십시오.

Translated by