I would like to import a csv file to my fis

5 views (last 30 days)
scipio
scipio on 21 Oct 2022
Answered: drummer on 21 Oct 2022
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"

Answers (1)

drummer
drummer on 21 Oct 2022
yourFile = readtable(yourFile.csv);
% show your table
yourFile

Categories

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

Community Treasure Hunt

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

Start Hunting!