How can I solve the error of too many input arguments in fuzzy logic toolbox?

1 次查看(过去 30 天)
I'm new here so i don't understand a thing. I was interested in fuzzy logic for food control operations with the help of matlab. I took the help of a decades old book for the program; i'm seeing this and i have no clue
for i = 1:k
CC = [fuzzy(S1(i,:), Qrel(i,:)); fuzzy(S2(i,:), Qrel(i,:)); fuzzy(S3(i,:), Qrel(i,:))];
So=So+CC ;
end
Error using fuzzy
Too many input arguments.
please help out
*see page 397 in the attached pdf for clarity.

采纳的回答

Walter Roberson
Walter Roberson 2024-5-4
Currently, in MATLAB, the command fuzzy invokes a fuzzy logic designer.
The actual code on page 397 does not invoke fuzzy: the actual code invokes fuzzyf . The code for the function fuzzyf is given at the bottom of page 399.

更多回答(0 个)

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by