Running a table through a Fuzzy system and getting a readable output?
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
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:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Fuzzy Logic in Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!