function result_status = findMango(NDWI, NDVI, SAVI)

sizeImg = size(NDWI);
mango = zeros(sizeImg(1),sizeImg(2));
for ii = 1:sizeImg(1)
	for jj = 1:sizeImg(2)
		if NDWI(ii,jj) > 0.089 && NDWI(ii,jj)<0.579
			aw = 1;
		else
			if NDVI(ii,jj) > 0.19 && NDVI(ii,jj) < 0.9
				if SAVI(ii,jj)> 0.3093 && SAVI(ii,jj) < 0.35
					mango(ii,jj) = 1;
				end
			end
		end
	end
end

result_status = mango;
end
