MATLAB Answers

Im attempting to graph the union and intersection of this specific fuzzy set. But I am getting an error.

12 views (last 30 days)
%%Problem 2
clear all;
clc;
clf;
figure(1);
title('Continuity')
x=[1:.01:10]';
Q= [1 1 .8 .3 .1 0 0]
C=[0 0 0 .4 .6 .8 1]
QuC = max(Q,C);
QnC = min(Q,C);
plot(x,QuC)
hold on;
plot(x,QnC)
hold on;
hold off;

Accepted Answer

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!

Translated by