The smaller the image sensor, the deeper the depth-of-field. It would be impossible to emulate the depth-of-field of a film or pro camera with either of the cameras you mentioned. About the best you could do would be to move in as close to the subject as possible, while also being zoomed in as much as possible.
Depth-of-field is controlled by many factors, the three most commonly controllable are:
• Distance of focal plane to subject; the less distance, the greater the depth-of-field.
• Focal length of the lens: the greater the focal length of the lens , the greater the depth-of-field.
• Iris setting: the wider the aperture opening, the greater the depth-of-field.
-DH