Image denoising

I have a matrix of a corrupted Image and want to use total variation to denoise it but I am unsure where to start with the code.
Any help is appreciated , thank you.

This forum is not the right place to help you formulate your problem. You are expected to bring a complete convex optimization problem to this forum when seeking help ion implementing it in CVX.

If you have formulated a convex optimization problem using total variation, by searching in this forum for total variation, you can find several threads showing how to handle total variation in CVX.