[code]img=imread('image.tif')
dim=size(img,1);
meam1=mean(mean(:,1:dim/2));
mean2=mean(mean(:,dim+1/2:end));
Min=min(mean1,mean2);
Square= ones(200,200);[/code]
JLCPCB – Prototype 10 PCBs for $2 (For Any Color)
China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w