필터 지우기
필터 지우기

How to import 256*3 size input table into fuzzy?

조회 수: 3 (최근 30일)
Aberna P
Aberna P 2023년 7월 22일
댓글: Aberna P 2023년 7월 24일
Error using evalfis:
Specify a valid type-1 FIS structure.
  댓글 수: 4
Sam Chak
Sam Chak 2023년 7월 23일
이동: Voss 2023년 7월 23일
@华纳公司注册网址hn6660.com, Why not showing how you designed the FIS, and you inserted it into evalfis()?
Aberna P
Aberna P 2023년 7월 23일
편집: Walter Roberson 2023년 7월 23일
Table of data given as input and expected output should be the best data among all the data?
Facing error in evaluation. How should get the best data from the input to be displayed?
Kindly help me out.
Code:
fismat = readfis('Fuzzy2'); % fuzzy get loaded
output =evalfis(S1,fismat); %Facing error
Input: is in struct form
Error:
Error using fuzzy.internal.utility.readFISAsStructure>localReadFIS
Too many input arguments.
Error in fuzzy.internal.utility.readFISAsStructure (line 29)
[out,errorMsg] = localReadFIS(varargin{:});
Error in fuzzy.internal.utility.readfis (line 27)
[varargout{1:nargout}] = fuzzy.internal.utility.readFISAsStructure(varargin{:});
Error in readfis (line 27)
[varargout{1:nargout}] = fuzzy.internal.utility.readfis(varargin{:});
Error in evalfis (line 71)
inRange = readfis(fis,'inRange');
Error in main (line 69)
o=evalfis(HVS,fismat);

댓글을 달려면 로그인하십시오.

채택된 답변

Sam Chak
Sam Chak 2023년 7월 23일
From your code, we can analyze something.
fismat = readfis('Fuzzy2'); % fuzzy get loaded
output = evalfis(S1, fismat); % facing error
Before R2018b, to evaluate a fuzzy inference system, fismat, using evalfis(), the first input argument is the input variable values.
Since R2018b, the input argument order has changed to
output = evalfis(fismat, S1);
Since you used the former syntax, you must be using R2018a or earlier version.
Is Fuzzy2.fis a Type-2 fuzzy system? If it is a Type-2 fuzzy system, and the Interval Type-2 FIS structure was introduced in R2019b, naturally the error message will tell you to specify a valid Type-1 FIS structure.
Can you check?
  댓글 수: 2
Aberna P
Aberna P 2023년 7월 24일
Thanks for your response sam chak. But still the error exist.
Aberna P
Aberna P 2023년 7월 24일
Additionally if i try to vizualize the rules and surface it popout the below shown error. Can you help me out. Its urgent.
Error:

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fuzzy Inference System Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by