I would like to import a csv file to my fis

16 Ansichten (letzte 30 Tage)
scipio
scipio am 21 Okt. 2022
Beantwortet: drummer am 21 Okt. 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"

Antworten (1)

drummer
drummer am 21 Okt. 2022
yourFile = readtable(yourFile.csv);
% show your table
yourFile

Kategorien

Mehr zu Fuzzy Logic in Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by