I have a vector of size 35116×1. I want to find max, min or avg of only a section of the vector like only using the first 2926 elements. I tried using index but it doesn't work. Am I doing anything wrong here or is there any other way of doing it?
for i=1:2926 max(num2(i,1)) %num2 is the vector
end
Best Answer