Help me check a m-file of fuzzy logic using noise cancelling

Status
Not open for further replies.

105s

Member level 4
Joined
Feb 23, 2004
Messages
75
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
456
fuzzy logic

please help me check the m-file about fuzzy logic using in noise cancelling.
thanks!

it exists some error:
ans =

501.0015

??? Index exceeds matrix dimensions.

Error in ==> C:\MATLAB6p1\toolbox\fuzzy\fuzzy\genparam.m
On line 80 ==> a = (range(i,2) - range(i, 1))/2/(mf_n(i) - 1);

Error in ==> C:\MATLAB6p1\toolbox\fuzzy\fuzzy\genfis1.m
On line 93 ==> in_mf_param = genparam(data, numMFs, inmftype);

Error in ==> C:\MATLAB6p1\work\my.m
On line 112 ==> in_fismat=genfis1(trn_data, mf_n);
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…