Need help with Fuzzy Logic program.
2 次查看(过去 30 天)
显示 更早的评论
i have 3 input like x1, x2, x3. and input sinal as
for t=1:1000
if t<250
u(t)=sin(pi*t/25);
elseif t<500 && t>249
u(t)=1;
elseif t<750 && t>499
u(t)=-1;
else
u(t)=0.3*sin(pi*t/25)+0.1*sin(pi*t/32)+0.6*sin(pi*t/10);
end
end
i have to first fuzzify the input with gaussian membership function.
My question is How to fuzzify it?? plz explain elaborately. preferably with code..
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!