Closed nttruong7 closed 6 years ago
in norm1.m I have to replace res = full(sum(abs(vec(X)))); to res = full(sum(abs(X(:)))); and it works! thanks for sharing
Thank you. I fixed that error. In different versions of Matlab, vec function is built-in.
But you are right, replace vec(X) by X(:) will work on any Matlab version.
in norm1.m I have to replace res = full(sum(abs(vec(X)))); to res = full(sum(abs(X(:)))); and it works! thanks for sharing