How should i prepare an excel to be imported to fuzzy logic toolbox? Also, what program to write for import data from excel and export the output into an excel?
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sanchit Saran Agarwal
el 25 de Mayo de 2021
Comentada: Sanchit Saran Agarwal
el 23 de Jun. de 2021
Kindly help me with a program to impirt data into fuzzy logic toolbox.
Also, I am trying to generate output using evalfis into excel. The following program is not working.
fis = readfis('Optimistic_r');
output = evalfis (fis,[36 3.6; 51.8 8])
xlswrite(filename,sets);
0 comentarios
Respuesta aceptada
Asvin Kumar
el 23 de Jun. de 2021
Editada: Asvin Kumar
el 23 de Jun. de 2021
You can then write the ouput of the FIS to an Excel sheet using the writematrix function. See example here.
readmatrix and writematrix were introduced in R2019a. If you're using an earlier version of MATLAB, your approach is correct. xlsread and xlswrite are the way to go. Here are some examples which show you how to use them.
Más respuestas (0)
Ver también
Categorías
Más información sobre Fuzzy Inference System Modeling en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!