sometimes it may get average every 5 nums, it will be better to create a function
MATLAB: For a vector, every four data get an average ,then put them into a new vector , its length will be the old’s one fourth,how to make it quickly
average
Related Question
- Finding Rest of Row
- I did some mistake in the code.the goal is i wanna set 21×21 processing window over 255×255 image ,then i need to find median value by sorting the pixels for each window,then i wanna find difference between each pair of adjacent pixels of sorted pi
- How to fix the code
- How to take the average of every n values in a vector
Best Answer