*2.4.1 Algorithm of decision support system*

The following figure (**Figure 2**) is a flowchart that shows how decision support system works.

#### *2.4.2 Implementation in MATLAB*

Based on the *matlab* program algorithm, we must first do the FMADM process with SAW by making a coding in the editor according to the FMADM algorithm with SAW, then the results of the method will be used as input for the next method using the Graphical User Interface (GUI) that will be shown in the **Figure 3**.

**Figure 4** is the appearance of the two *matlab* programs with a GUI that contains: self-identity, symptoms experienced, save, clean, close, diagnosis, output, for selfidentity and symptoms must be filled. The second display looks like the following picture:


**Table 14.** *Integral total value.*

**Figure 2.** *Decision Support System Algorithm.*

**Figure 3.** *View of GUI (Opening).*

*Fuzzy Multi-Attribute Decision Making (FMADM) Application on Decision Support… DOI: http://dx.doi.org/10.5772/intechopen.94614*


Following are the steps to diagnose a type of disease: Fill in the biodata form and symptoms, then click the diagnosis button then click the save button. The results of the diagnosis are obtained as follows like what's shown in **Figure 5**.

The storage results are displayed in a form of what's shown in **Figure 6**.

#### *2.4.3 System accuracy testing*

The accuracy of the FMADM decision support system with MAPE obtained the following equation

$$\text{The Accuracy} = \frac{\sum \text{Dataujibenar}}{\sum \text{Totaluji}} \times 100\% \tag{8}$$

**Figure 5.** *GUI Display (Diagnose Result).*


**Figure 6.** *GUI Display (Data Base).*

Obtained from 30 data is as follows:

$$\text{The accuracy} = \frac{30 - 2}{40} \ge 100\% = \Re \% \tag{9}$$

### **3. Conclusion**

Based on the method in the first stage, the FMADM method with SAW rank 1 was obtained in the second alternative ð Þ *V*<sup>2</sup> so that someone can be confirmed to suffer from dengue if they experience the initial symptoms of high fever at 39.5° C - 40° C many spots appear during the lumple leed test (> 50 petheciae), bleeding gums, rarely experiencing nausea and headaches, then experiencing diarrhea. In the second method, the results of the first method will be the input for the second method, then the total integral value will be obtained with the degree of optimism α = 1, from the second method or FMADM with Development (FDM). Then the results of the accuracy of the decision support system with MAPE obtained 93% of 100% consisting of 40 patients suffering from DHF.
