Question

Problem 2: As an intelligent system engineer you are requested to design a fuzzy logic expert ...

problem 2:


As an intelligent system engineer you are requested to design a fuzzy logic expert system to predict the body mass index for employees.
The system will take both the body mass (range: 40-130Kg) and the height (range: 140-210 cm) of the employer to provide the index value (10-60).
- use LARSEN FIS
- Use two different sets of membership functions for two different models such as one using triangular and one using Gaussian-bell membership functions.
- Provide the fuzzy rule table for the model and plot the fuzzy surface.
- Use Matlab to show the developed systems.
- Provide three testing cases showing the fired output. Indicate your inputs to the FIS when conducting each testing scenario and compare to the original mathematical model.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

ANSWER:-

2 weight İnput (Enter your weight (lbs), or type 0 for SI units: ); 3 if weight 0; 4 weight -input( Enter your mass (kg):

OUTPUT SCREENSHOT:-

Enter your weight (lbs), or type 0 for SI units: 0
Enter your mass (kg): 50
weight = 50
Enter your height (m): 1.6
height = 1.6000
bmi = 19.531
You are Normal

Enter your weight (lbs), or type 0 for SI units: 0
Enter your mass (kg): 62.5
weight = 62.500
Enter your height (m): 1.78
height = 1.7800
bmi = 19.726
You are Normal

Enter your weight (lbs), or type 0 for SI units: 0
Enter your mass (kg): 52
weight = 52
Enter your height (m): 1.8
height = 1.8000
bmi = 16.049
You are underweight

Enter your weight (lbs), or type 0 for SI units: 0
Enter your mass (kg): 90
weight = 90
Enter your height (m): 1.7
height = 1.7000
bmi = 31.142
You are classified as obese

SAMPLECODE:-

weight = input('Enter your weight (lbs), or type 0 for SI units: ');
if weight == 0;
weight = input('Enter your mass (kg): ')
height = input('Enter your height (m): ')
bmi = (weight / (height.^2))
else
height = input('Enter your height (ft): ')
bmi = (Weight / (height.^2)) * 4.882427111
end
if (bmi <= 18.5);
disp('You are underweight')
else if ((bmi > 18.5) && (bmi <= 25));
disp('You are Normal')
else if ((bmi > 25) && (bmi <= 30));
disp('You are overweight')
else if ((bmi > 30) && (bmi <= 35));
disp('You are classified as obese')
end
end
end
end

Add a comment
Know the answer?
Add Answer to:
Problem 2: As an intelligent system engineer you are requested to design a fuzzy logic expert ...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Multiple-Choice Questions (worth two points each) 1. Which of the following describes the process in which...

    Multiple-Choice Questions (worth two points each) 1. Which of the following describes the process in which one adopts patterns of behavior that lead to greater life satisfaction? A. wellness B. health C. social determination D. self-efficacy 2. The Stages of Change Model of health behavior change emphasizes that A. change happens as a process. B. people change only when faced with an illness. C. change occurs only when the environment supports it. D. changes are more effective when based on...

  • How can we assess whether a project is a success or a failure? This case presents...

    How can we assess whether a project is a success or a failure? This case presents two phases of a large business transformation project involving the implementation of an ERP system with the aim of creating an integrated company. The case illustrates some of the challenges associated with integration. It also presents the obstacles facing companies that undertake projects involving large information technology projects. Bombardier and Its Environment Joseph-Armand Bombardier was 15 years old when he built his first snowmobile...

  • Using the book, write another paragraph or two: write 170 words: Q: Compare the assumptions of...

    Using the book, write another paragraph or two: write 170 words: Q: Compare the assumptions of physician-centered and collaborative communication. How is the caregiver’s role different in each model? How is the patient’s role different? Answer: Physical-centered communication involves the specialists taking control of the conversation. They decide on the topics of discussion and when to end the process. The patient responds to the issues raised by the caregiver and acts accordingly. On the other hand, Collaborative communication involves a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT