I would like to import a csv file to my fis

3 次查看(过去 30 天)
I have a csv file containing all of combinations of fuzzy rules and their outputs. I would like to import this file to my fuzzy inference system to view the surface plot and firing of rules, is there any way to do this?
Csv file contains 4 columns and 125 rows. Columns 1 - 3 represent my input values each with 5 membership functions (5*5*5 =125 rules) and column 4 represents my output which has 5 membership functions. These are all in linguistic form i.e if "severity is low and occurane is high...then"

回答(1 个)

drummer
drummer 2022-10-21
yourFile = readtable(yourFile.csv);
% show your table
yourFile

类别

Help CenterFile Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by