How do I use the "omitnan' option for the Mean function when calling the function using the splitapply function?
显示 更早的评论
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
2 个评论
Madhur Duggar
2020-2-24
Star Strider
2020-2-24
If my Answer helped you solve your problem, please Accept it!
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!