ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How does labview think?

really it is odd here, when I make code 1, what I find image 1, but when I make code 2, here what I find image 2.

 

somebody can say to me why?

 

image 1

 

errorss.png

 

image 2

errooorrs.png

 

 

x1 = (0:0.1:20)';
y = sin(2*x1)./exp(x1/5);
trnData = [x1 y];
numMFs = 5;
mfType = 'gbellmf';
epoch_n = 20;
in_fis = genfis1(trnData,numMFs,mfType);
out_fis = anfis(trnData,in_fis,20);
aa = evalfis(x1 ,out_fis);

0 Kudos
Message 1 of 2
(2,713 Views)

Hi,

 

please don't create double posts for the very same problem! Stick to your original thread!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,670 Views)