I want to get predicted values for output values related to some input values.
By GUI I can get them but I want to get them by a function or command or ....
Hello Ghazal,
Follow this procedure:
- first load the Fuzzy file by using the command:
fis = loadfis ('fuzzyfilename')
Replace fuzzyfilename with the name you saved your fuzzy file with. The quotes are not removed.
- for instance, if your system is a 2 inputs, 1 output system, then use this command to get an output value for two input values:
Output = evalfis (fis, [inputvalue1 inputvalue2])
Simply replace 'inputvalue1' and 'inputvalue2' with numerical values, the result would be a numerical value of the output based on your rule-base.
Hope this is what you're looking for?
Best Regards.
thanks for your answer;
i've tried loadfis but it didn't work so i choose readfis instead.
fis=readfis('file name');
out=evalfis(input value,fis)
but the result was the same however i changed the value of the input
It's actually readfis. Apologies for the error.
If you're getting the same result, it could probably be because of your membership function type and range. Also, remember that the input values are placed in a square bracket [ ].
Nodes are missing intersection with their respective master surface or outside the adjust zone, when using tie constraint.
01 February 2021 3,591 6 View
Hi, I want to start my cell culture to run a MTT assay , how can I sterilize my polymer?
15 December 2020 1,813 1 View
Hi there, I have been struggling with solving my chitosan folate coated nanoseleniums in dmem culture media sincr it is only soluble in acetic acid , and hardly soluble in basic media. What can I do?
19 November 2020 5,636 3 View
Hi, I have a 25 ml sample of chitosan coated nanoselenium with average diametere of 112 nm, considering the fact that chitosan after being kept in water media swelles, how can I send a sample for...
08 November 2020 6,859 3 View
Hi there I wanted to know if it is ok to add 2 or 3 drops of glycerol for suspending the nanoparticles in water before measuring the zeta potential?
26 October 2020 2,146 3 View
I'm running a MTT test for evaluation the effect of chitosan coated nanoselenium versus bare nanoseleniums, what are the controls for MTT assay? Should I test bare nanochitosans as well as...
27 September 2020 9,525 2 View
The types of studies included are case reports, case series, epidemiological studies. The information collected will probably be analyzed qualitatively only.
17 August 2020 3,628 7 View
I need facial image dataset for my project. My project is about automatic pain detection from face by mobile phone camera. I think for training and testing the algorithm I need facial image data...
27 September 2017 8,295 4 View
I am preparing a nanofluid having liquid gallium as my base fluid and other metalic and polymeric nano/micro particles to be suspended on it using a high power sonicator. I was wondering how can I...
03 May 2017 2,128 4 View
I am beginner in ANN. I am trying to train an ANN for prediction nanofibers diameters using Matlab.I tried to write code for that but i think there is some thing wrong. May you help me writting...
23 May 2015 4,169 2 View
Dear Researchers I am trying to perform a PIL simulation using STM32F4 Discovery board and comunication serial USB TO TTL. During simulation I receive the following timeout error: An error...
01 March 2021 2,327 1 View
The following code (see 1st 2 images attached) is used to produce PID controller values that are designed to control the system (G). The code finds the PID controller values (noted as k) by using...
28 February 2021 6,560 14 View
I have input and output data set for "ANFIS modeling in MATLAB", and I am getting some negative predicted values of output in testing. However, the predicted values of output in training are...
28 February 2021 3,459 3 View
I am required to learn about Flyback converters and I got stuck not knowing to full design of the power supply flyback converter Based USB Charger Model using Simulink, especially the design model...
25 February 2021 5,435 2 View
I do need the Matlab code of Fractal Discrete Cosine Transform (FDCT). Can anyone who has already implement this code, help me with the implementation of this transform?
24 February 2021 5,602 2 View
Hi Hope you are well. Can you please share your code for D2D implementation in Matlab. I want to implement D2D in Matlab based Vienna simulator and struggling to deploy D2D. Thanks
24 February 2021 9,378 3 View
Dear colleagues If anyone has a model of multi-effect distillation in EES or MATLAB software, please send it to me.
24 February 2021 7,282 1 View
Hi, I am a third year chemistry undergrad doing my group project in which I need to predict the HPLC retention time of 20 aromatic molecules. to do this we require the chemical properties of these...
24 February 2021 1,384 3 View
I use Matlab 2014b to capture some images with a PointGrey camera connected with USB3 port. I initialize the camera in a function which basically execute these followed lines : vid =...
22 February 2021 6,386 1 View
How to build fouling and erosion simulation model for Aero Engine compressor and turbine rotor in Simulink / Matlab?
22 February 2021 3,697 1 View