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)

 Respuesta aceptada

Walter Roberson
Walter Roberson el 19 de Mzo. de 2018

0 votos

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 comentarios

Jovelyn Obias
Jovelyn Obias el 16 de Nov. de 2021
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 el 16 de Nov. de 2021
No. You have to have already extracted the data from the HTML UI into arrays that then get passed to evalfis()

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Language Fundamentals en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by