Matlab: how to define fismat

  • MATLAB
  • Thread starter sensitive
  • Start date
  • #1
35
0
I am working on a matlab code for cross validation.

I have define the test and training set but I am having trouble using the anfis command. Before carrying out the training using anfis command I need to define the fismat. How do i define fismat?

My code is as follows:

load visit1.mat
V1 = visit1;
chkData = V1(1,1);
trnData = V1(2:20,:);
fismat = genfis1(trnData)
[fismat1,trnError,ss,fismat2,chkError] = anfis(trnData,fismat,trnOpt,dispOpt,chkData);

I am trouble on linr 5, it gives me error saying non-existent field 'input'.

I appreciate any help I can get. Thank you...
 

Answers and Replies

Related Threads on Matlab: how to define fismat

Replies
1
Views
2K
  • Last Post
Replies
6
Views
24K
  • Last Post
Replies
1
Views
52K
Replies
4
Views
10K
  • Last Post
Replies
1
Views
1K
Replies
7
Views
978
Replies
3
Views
21K
Replies
0
Views
4K
Replies
3
Views
14K
Top