Did you try assigning numbers and plugging them in to your equation?
m = linspace(1.01 * actualMass, 10 * actualMass, numSamples);
h = (G * m / w^2) .^ (1/3) - R
plot(m, h, 'b-', 'LineWidth', 2);
Not sure which letter is the mass of the earth or the mass of the satellite, so adapt as needed.