Borrar filtros
Borrar filtros

use evalfis with 2 input

1 visualización (últimos 30 días)
Dani D
Dani D el 11 de Mzo. de 2016
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)

Respuestas (0)

Categorías

Más información sobre Fuzzy Logic Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by