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

조회 수: 1 (최근 30일)
Hugh Woodford
Hugh Woodford 2022년 2월 18일
답변: Vidip 2024년 1월 17일
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.

답변 (1개)

Vidip
Vidip 2024년 1월 17일
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:

카테고리

Help CenterFile Exchange에서 Fuzzy Logic in Simulink에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by