Running a table through a Fuzzy system and getting a readable output?

Hi there, I was wondering how you can run a table of data through a fuzzy inference system? I can import the table, can create the fuzzy model, but I don't know how to use evalfis to process each row of data and get an output.
For a bit more info, I have imported the csv table successfuly using the readtable(filename) command and created a basic fuzzy model for testing called "patientfis". I just can't find the command I need to process the table data. and output it to table.

Respuestas (1)

Vidip
Vidip el 17 de En. de 2024
I understand that you want to know about ‘evalfis’ function and how to use it. This function takes an FIS and a matrix of input values, where each row of the matrix corresponds to one set of inputs to the FIS. The output of evalfis will be a matrix where each row corresponds to the FIS output for the corresponding row of inputs.
Since you have your data in a table and a fuzzy model called patientfis, you will need to convert the relevant columns of the table to a matrix, run evalfis, and then, if you wish, store the results back into a table.
For further information, refer to the documentation link below:

Categorías

Más información sobre Fuzzy Logic in Simulink en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 18 de Feb. de 2022

Respondida:

el 17 de En. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by