So I am trying to plot a Squircle in Matlab. I would like to use the formula below
$$\left|\frac{x - a}{r_a}\right|^p + \left|\frac{y - b}{r_b}\right|^p = 1$$
I am not sure how to deal with the absolute value and to solve it for y?
ps. Yes I saw this post.

I don't have MATLAB in my pc but I think the following will work: