Commit 75452861 authored by Mike Cichonski's avatar Mike Cichonski
Browse files

modified ve_trimmean to work on 2D matrices

parent 6dedaaf1
......@@ -25,4 +25,4 @@ ntrim = round(ntotal*ptrim);
data_srt = sort(data);
%Take 1/2 of the requested amount off the top and off the bottom
trm_m = mean(data_srt(ntrim+1:ntotal-ntrim));
\ No newline at end of file
trm_m = mean(data_srt(ntrim+1:ntotal-ntrim,1:size(data_srt,2)));
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment