I have something full of numbers like this vee(:,:). It has 30 rows and 2 columns.
When I try to get the min and max of the second column, I use;
ymax = max(vee(:,2));
ymin = min(vee(:,2));
it works
when I want the min and max of the first column, I use
xmax = max(vee(1,:));
xmin = min(vee(1,:));
I don’t know about matrix dimensions I might be wrong. Why doesn’t the xmin and xmax work? It only gives me the values of the first row. What is wrong here?
in matlab
you were doing
You need to do