I've been using this function up and until yesterday. Since today wavedec2 is throwing an error saying that 'Lo_D' is an Unrecognized Function or Variable. This is the error it throws up:
Unrecognized function or variable 'Lo_D'.
Error in wavedec2 (line 9)
[x,h,v,d] = dwt2(x,Lo_D,Hi_D); % decomposition
Error in WaveletCompress_V4 (line 24)
[C,S] = wavedec2(X, n, wname);
Let's forget about my code. It throws the same error even for procedures through the Wavelet Analyzer App. It's like this function doesn't work for me anymore or so. Kindly do help me fix this. Thanks.