“Hello, how can I implement the fourth power of the norm, where ( q ) is an optimization variable in CVX?”

I found that I cannot use
square_pos because
square_pos calls MATLAB’s
square function, but in my MATLAB 2024a, the
square function has been changed to a tool for generating square waves