??? Undefined function or method 'uq_dist' for input arguments of type 'char'.

1 view (last 30 days)
[y,farr] = uq_dist('funfcn',-20,20,12,-5,0.001,0,2,4);
i have called a function in editor with the above following code and im facing the problem as Error in ==> bushra at 1 [y,farr] = uq_dist('funfcn',-20,20,12,-5,0.001,0,2,4); how should i fix this problem. this is a question to calculate the mean squared error of quantization levels.

Answers (1)

Jan
Jan on 13 Oct 2014
The error means, that there is no file called "uq_dist.m" in the Matlab path. Do you have such a file? Did you try to add its parent folder to the path - see addpath or pathtool.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!