I am doing an experiment on electromagnetic separation and I want to ask whether the change in the distance between the opposite poles affect the magnetic field if the current remains constant?
the magnetic field intensity H lowers with 1/x (x=distance).
In example, if you can represent your magnetic field with the Biot and Savart law (magnetic field produced just by a single wire percurred by the current I):
H=I/(2*PI*R)
with R the radius around the wire, that is also the distance from the wire.
In general, also by using the Maxwell equations you can see that the field lowers with 1/x
If you are doing your experiment with flow of current created magnetic field, than there is no magnetic pole. In case you are trying to combine two magnetic field (created by poles and current flow) than, yes, I agree with the explanation of Dr Alberto Moro
When two magnets are brought near each other, like poles repel; opposite poles attract. Therefore, as the distance between the opposite poles increases the strength or magnitude of the magnetic field produced decreases.