Clear Filters
Clear Filters

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

4 views (last 30 days)
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.

Answers (1)

Vidip
Vidip on 17 Jan 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:

Categories

Find more on Fuzzy Logic Toolbox in Help Center and File Exchange

Tags

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!