Im attempting to graph the union and intersection of this specific fuzzy set. But I am getting an error.
6 views (last 30 days)
Show older comments
Commented: Trevon Alvarado on 4 Oct 2020
Q= [1 1 .8 .3 .1 0 0]
C=[0 0 0 .4 .6 .8 1]
QuC = max(Q,C);
QnC = min(Q,C);
Cris LaPierre on 4 Oct 2020
The error I get when running your code is that the vectors you plot have to be the same length. x is 901x1 while QuC and QnC are 1x7.
What is the intent here? Do you instead want x=linspace(1,10,7)?
More Answers (0)
Find more on Fuzzy Logic in Simulink 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!