I keep getting
error using evalfis (line62):
The first argument should have as many columns as input variables and as many row as independent sets of input values.
I don't understand what they mean. This is what I use now as code:
out1=evalfis(dataTest(:,1:2),myfis1); % zero order
ee=dataTest(:,3)-out1;
rr=mean(ee.*ee)

 채택된 답변

Walter Roberson
Walter Roberson 2018년 3월 19일

0 개 추천

The error is telling you that the number of variables that myfis1 expects is not the same as the number of columns of data you are passing in (which is 2 because you are selecting columns 1:2 out of dataTest).

댓글 수: 2

Jovelyn Obias
Jovelyn Obias 2021년 11월 16일
Is there a specific way of passing the data to the evalfis when the data you need came from html-built UI?
Walter Roberson
Walter Roberson 2021년 11월 16일
No. You have to have already extracted the data from the HTML UI into arrays that then get passed to evalfis()

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by