필터 지우기
필터 지우기

use evalfis with 2 input

조회 수: 1 (최근 30일)
Dani D
Dani D 2016년 3월 11일
Hello, I have two input in my FIS. and in m-file i want send two number to FIS from m-file with evalfis. What i do? The under code with one input number for FIS with one input .
clear all;
close all;
clc
I=imread('cameraman.tif');
figure
subplot(2,2,1);
imshow(I);
title('Original');
subplot(2,2,2);
imhist(I);
title('Original Histogram');
I=double(I);
fis=readfis('FIS5');
[m , n]=size(I);
for i=1:m
for j=1:n
I(i,j)=evalfis(I(i,j),fis);
end
end
subplot(2,2,3);
imshow(uint8(I));
title('After');
subplot(2,2,4);
imhist(I.*255);
title('After Histogram');
(i have the under FIS and send two number for FIS system with two input)

답변 (0개)

카테고리

Help CenterFile Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by