Тёмный

What Is Fuzzy Logic? | Fuzzy Logic, Part 1 

MATLAB
Подписаться 518 тыс.
Просмотров 276 тыс.
50% 1

This video introduces fuzzy logic and explains how you can use it to design a fuzzy inference system (FIS), which is a powerful way to use human experience to design complex systems. Designing a FIS does not require a model, so it works well for complex systems with underlying mechanisms that are not fully known. If you have some experience and intuition about the system, then you can develop and implement the rules.
Fuzzy Logic Toolbox: bit.ly/38xNy7E?s_eid=PSM_15028
--------------------------------------------------------------------------------------------------------
Get a free product trial: goo.gl/ZHFb5u
Learn more about MATLAB: goo.gl/8QV7ZZ
Learn more about Simulink: goo.gl/nqnbLe
See what's new in MATLAB and Simulink: goo.gl/pgGtod
© 2022 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.

Наука

Опубликовано:

 

24 авг 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 94   
@eumesmo5306
@eumesmo5306 2 года назад
every time i strumble upon a new video and see master douglas talking I know beforehand the video will be awesome!
@AnilTasdemirT
@AnilTasdemirT 10 месяцев назад
Wow, just wow! Outstanding explanation! I have just started watching your videos and they are both detailed and understandable. Thank you for all 🙏
@trendyprimawijaya314
@trendyprimawijaya314 2 года назад
Sir, everytime you upload matlab tech talk video, it always relevant to my current studies. It's like you always hear my inner voice: "can someone explain about this and that to me, clearly and catchy?". Then, i became more confidence that I am in the rght learning path. Very big thanks, sir. 💙
@snowinnov
@snowinnov 2 года назад
Very interesting talk, and easy to understand! Just to say the fuzzification process explained here is a little bit different from my understanding. The fuzzificaion is to convert a crisp number into a fuzzy set. It can be singleton or non-singleton. Your explanation is based on singleton, and taking one step further to get the compatibility (which is then used as rule firing strength) to rule antecedents. But, anyway, I would say your explanation is good enough as an illustration for beginners to get some ideas about how the whole fuzzy system works. Thanks for sharing these. It’s really useful!
@sachinkumar-el5lf
@sachinkumar-el5lf 2 года назад
Hi sir, big fan of your teaching. Fell in love with control systems after watching your videos. Thank you so much sir❤
@ruffianeo3418
@ruffianeo3418 12 часов назад
Over the decades, I dabbled with fuzzy logic a couple of times. The base modus operandi of fuzzy logic aside, it is always interesting to think about the way, fuzzy logic is presented to a user within a programming language. Being currently in one of my iterations, thinking about fuzzy logic implementations, I came to the conclusion, that the "IF ... THEN ... " syntax is not really intuitive at all. The video uses the mandami approach, as opposed to the TKS approach. Both of which differ in the THEN term. One of the benefits of Common Lisp is its macro system. And while I started out with the "IF THEN" syntax, I finally converged on something I find more... true to what is actually happening: As an example (for your amusement and me getting some productive feedback, maybe), here the "bot" implementation for a silly and simple dice game, where the bot needs to choose between 2 actions, depending on the game state, which is a 4 tuple of values. The function uses my nifty "fuzzy" macro... lets see if people can intuit, how the function works... (defun ddg-fuzzy-bot-choose-action (opponent-score own-score turn-score last-roll) (let ((low-roll (define-f-var '(1 1.0) '(4 0.0))) (high-roll (define-f-var '(2 0.0) '(5 1.0))) (behind (define-f-var '(-20 1.0) '(0 0.0))) (ahead (define-f-var '(0 0.0) '(20 1.0))) (even (define-f-var '(-5 0.0) '(0 1.0) '(5 0.0))) (high-stake (define-f-var '(2 0.0) '(10 1.0))) (low-stake (define-f-var '(0 1.0) '(4 0.0)))) (let ((score-diff (- (+ own-score turn-score) opponent-score))) (fuzzy ;; associate input-variables with membership functions ((turn-score (low-stake high-stake)) (last-roll (low-roll high-roll)) (score-diff (behind even ahead))) ;; define he fuzzy rules ((should-roll (or (and ahead low-stake low-roll) behind (and even low-roll))) (should-stop (and ahead (or high-stake high-roll)))) ;; use the fuzzy output variables. (values (if (>= should-roll should-stop) (then :roll) (else :stop)) (list :should-roll should-roll :should-stop should-stop)))))) The FUZZY macro helps with associating membership-functions to input variables and to define the rules for its output variables "should-roll" "should-stop" in a lispy way. The third part in that macro is just the code, which uses the computed output variables for its decision making. Behind the scenes, the OR and AND operations are simply replaced with MAX and MIN, respectively. (should-stop (and ahead (or high-stake high-roll))) would be written traditionally with something like this: IF ahead AND (high-stake OR high-roll) THEN rather should-stop And I would also have to define a set of membership functions for the "should-stop" fuzzy variable. It adds a lot of complexity, which might not often be required. Also I find it difficult to come up with those membership functions for the outputs.
@abs80900
@abs80900 2 года назад
really clear and easy to follow explanation, thank you so much!
@anisharaj4601
@anisharaj4601 4 месяца назад
explaining the steps with the example cleared most of my doubts. Thank you!
@sarahdecker1
@sarahdecker1 2 года назад
Awesome video. Very effective teaching of the subject. Thank you!
@isharaudayangawimalaweera3642
@isharaudayangawimalaweera3642 2 года назад
Simply Marvelous job Mr. Brian. Thank you very much
@ProfKofiPhD
@ProfKofiPhD Год назад
Easy to understand. Great job, mate!
@snktshrma
@snktshrma 2 года назад
Was eagerly waiting for this! Great video
@hjcho8462
@hjcho8462 2 года назад
Always deeply appreciate ur series. Thank u so much
@sadie1837
@sadie1837 Год назад
Thanks for this video. It has given me a better understanding of fuzzy logic.
@panyachutisiriwong6200
@panyachutisiriwong6200 2 года назад
I truly love this clip. Inspire me a lot for work. - from Thailand
@mukeshmann3008
@mukeshmann3008 Год назад
Great Explanation ! One doubt is that when you you do defuzzification of fuzzy variables= [0 0.9 0.1] Don't we chop first graph at 0% , second graph ( Medium) at 90% and last one at 10 % . Why you have chopped the first graph( low membership) at 10 % it should be 0%. Require your expert comments on this .
@wokguysrandomstuff5535
@wokguysrandomstuff5535 2 года назад
The explanations are so clear!
@GiovanniBR1234
@GiovanniBR1234 2 года назад
One of my favorite subject explained by one of my favorite Controls teacher. Amazing! Wonder if you're going to introduce more advanced topics on the series, especially type-2 fuzzy logic
@BrianBDouglas
@BrianBDouglas 2 года назад
I'm not sure yet. I'm working on the last video right now and I want to cover fuzzy trees, type-2, and training a fuzzy inference system using data. It's turning out to be too much information for a single video so I'm going to start cutting things out. I don't yet what will stay. Thanks for the comment!
@GiovanniBR1234
@GiovanniBR1234 2 года назад
@@BrianBDouglas All of these topics seem very interesting either way. Really looking forward to it!
@enginufuk
@enginufuk 3 месяца назад
It's extremely easy to follow you. Please keep it that way. 🙏
@tonnirvana
@tonnirvana 2 года назад
Hello Mr.Douglas 😊
@BrianBDouglas
@BrianBDouglas 2 года назад
Hello!
@aleksandarristic2184
@aleksandarristic2184 2 года назад
@@BrianBDouglas make more videos mr Douglas
@user-qi9zo5ge8r
@user-qi9zo5ge8r 6 месяцев назад
I just started studying on this topic and saw your video. A great video to understand the logic. Thank you !
@BrianBDouglas
@BrianBDouglas 6 месяцев назад
I'm glad it was a good introduction for you
@jlleluc4s
@jlleluc4s 2 года назад
A talent of control explanation!
@mohamadalikhani2665
@mohamadalikhani2665 2 года назад
Man, You really ROCK!!! It is very easy to understand, despite reading books😊
@MATLAB
@MATLAB 2 года назад
Happy to help!
@eddiemetalblood1
@eddiemetalblood1 2 года назад
Great video!
@r3dat29e
@r3dat29e 2 года назад
Comprehensive and simple.
@surflaweb
@surflaweb 2 года назад
Great explanation.
@maxzim-dude
@maxzim-dude 3 месяца назад
good job Brian
@jasonkim1642
@jasonkim1642 2 года назад
Thanks a lot! Quite sad that fuzzy logic application do not get much credits industry-wise nowadays.
@looper6394
@looper6394 2 года назад
take all of my data and tell me the theory of everything, thank you
@MALEKBAFADHLAKE
@MALEKBAFADHLAKE 2 года назад
great explanation
@ahmedabdelkader31
@ahmedabdelkader31 Год назад
Great work
@SungBySaheba
@SungBySaheba 3 месяца назад
Amazing video
@user-me9jw8zc3g
@user-me9jw8zc3g 2 года назад
Fuzzy logic = Daily way of thinking! ♡♧◇☆♡
@gustavohenriquezeni350
@gustavohenriquezeni350 2 года назад
Hey, i'm a computer engineering student at UTFPR Curitiba and i've participated in extension courses in the past that were basically translating videos like these to portuguese, submitting the subtitles to the platform and then having it available in multiple languages. We'd then receive a certain amount of hours in complementary activities that we require to graduate. Is there an e-mail or form that one could use to get in contact with matlab or the teacher responsible for these videos to formalize an extension course inside UTFPR to subtitle these four videos to portuguese? I'm sure this material would help a ton of students all across Brazil and many more countries!
@bonfaceosuka
@bonfaceosuka Год назад
Amazing tutorial
@abims01
@abims01 Год назад
Well done Mr. Douglas. Please, I require serious help with my project. I am working on intelligent traffic light system using a fuzzy inference engine. Please, how will a fuzzy logic program be written and connected to a traffic light system?
@josephcorleto1853
@josephcorleto1853 Год назад
If you ever make a full video course on this for control engineering people, please take my money.
@DerHansDaselbst
@DerHansDaselbst 2 года назад
Tanks a lot!
@omarteffahi7048
@omarteffahi7048 Год назад
Thanks for the explanation But how to know where the centroid of the shape should be ?
@dr.alikhudhair9414
@dr.alikhudhair9414 8 дней назад
Thank you
@yeachanchoi449
@yeachanchoi449 28 дней назад
Fantastico!
@charlesokoh3373
@charlesokoh3373 2 года назад
Waiting for Part 2
@sigma_delta
@sigma_delta Год назад
fuzzy here, fuzzy there, my brain goes fuzzy fuzzy. hahaha
@khristianss
@khristianss 2 года назад
gracias!
@richardbleriot7613
@richardbleriot7613 2 года назад
Thanks For the video. Can I apply it on online gambling games😅😅?
@nomanziad3314
@nomanziad3314 Год назад
Nice!
@Yogeeswar_Thumati
@Yogeeswar_Thumati 7 месяцев назад
A good video ❤
@vtoo_ir
@vtoo_ir 2 года назад
Thanks
@abousamidjziri724
@abousamidjziri724 2 года назад
Thank you And what about Neuro fuzzy
@andreseajc
@andreseajc Год назад
here! take my like!
@mark-qi6di
@mark-qi6di 2 года назад
13:40 Interesting that there is never 0 risk...
@power-max
@power-max 2 года назад
How is this different from point systems (like XP, health, etc) in videogames or analog control systems? Are those both examples of 'fuzzy logic'?
@arrow4redemption
@arrow4redemption 2 года назад
pls how can i resolve this fuzzy Error using FuzzyInferenceSystem (line 288) min is a script. Error in mamfis (line 165) fis = fis@FuzzyInferenceSystem(varargin{:}); Error in fuzzy (line 30) action = mamfis('Name','Untitled');
@georgyurumov8095
@georgyurumov8095 9 месяцев назад
Really great explanations of a very fuzzy topic!!! Is there a link to the matlab banking example in the video and to the second part of this series?
@BrianBDouglas
@BrianBDouglas 9 месяцев назад
Here's the 2nd part: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-CBTEVFphv-E.htmlsi=U1kGZXK5ScJ2cZJS. And I wrote up the banking example script but didn't share it. Here is the tipping example though! www.mathworks.com/help/fuzzy/working-from-the-command-line.html. Hope that helps!
@georgyurumov8095
@georgyurumov8095 9 месяцев назад
thank you. have you tried coding it in python?@@BrianBDouglas
@mohamedhabas7391
@mohamedhabas7391 Год назад
I failed fuzzy logic in Uni :) Still best course i took ;)
@answerman9933
@answerman9933 Год назад
Is this like PID: proportional, integral, differential?
@Aryan-dq1ll
@Aryan-dq1ll Год назад
Brian Douglas is a boon for people who want to learn Control Systems
@heliamoosavi1825
@heliamoosavi1825 Год назад
Can anyone tell me what Abbreviation NDS stands for ?
@zapatazapata6414
@zapatazapata6414 2 года назад
Brain is the OG
@cogofknowledge6142
@cogofknowledge6142 Год назад
THE BATLOGIC CONTROLLER
@iramkumar78
@iramkumar78 2 года назад
Fuzzy Logic is multi valued language with membership functions. Red Pill. Matrix Crew. Topology.
@akshaydarekar5863
@akshaydarekar5863 2 года назад
Sow how convert the 46% to binary again
@drbonesshow1
@drbonesshow1 2 года назад
When fuzzy becomes less fuzzy: Consider the Twilight Zone episode where the banker is ready to grant a loan, but doesn't know that the borrower wants to bet the loan on several horse races. That is, until Hector B. Poole who can read minds overhears the borrower's thoughts in A Penny For Your Thoughts.
@AliHosseiniLaqa
@AliHosseiniLaqa 7 месяцев назад
Awsome , thank u , could u plz give us these presentation pdfs or powerpoints ?
@BrianBDouglas
@BrianBDouglas 6 месяцев назад
I didn't create a pdf or slides of the video. Sorry.
@AliHosseiniLaqa
@AliHosseiniLaqa 6 месяцев назад
Ok , i thought there is a powepoint or sth you are presenting . ​@@BrianBDouglas
@AliHosseiniLaqa
@AliHosseiniLaqa 6 месяцев назад
​@@BrianBDouglasby the way is there any way that i can talk to you ?
@drbonesshow1
@drbonesshow1 2 года назад
The world is full of fuzzy logic people.
@oldcowbb
@oldcowbb Год назад
can we say fuzzy logic is a kind of machine learning?
@orunoawhie5695
@orunoawhie5695 10 месяцев назад
Just give good tips men..
@EngGear
@EngGear 2 года назад
Does fuzzy logic deny the law of non excluded middle?
@alexanderskusnov5119
@alexanderskusnov5119 2 года назад
According to physics the particles are always probabilities.
@1.4142
@1.4142 2 года назад
Fuzzy logic was a bear. Fuzzy logic had 0.2 hairiness.
@NBScienceGuy
@NBScienceGuy 2 года назад
This was still too fuzzy for us!
@hieudotrung8616
@hieudotrung8616 10 месяцев назад
How are you caculated 46 percent% ?
@sethmobit
@sethmobit 7 месяцев назад
Finally I got it! How as him said, 46 is the X axis of centroid of the form that represents 10% of the trapezium of low membership and 90% of medium membership, right? The X axis of the centroid can be obtained by the formula: x = x1 + (x2-x1) * (A2/(A1+A2)) where: - x1 is the x-axis of centroid of trapezium slice; - x2 is the x-axis of centroid of triangle slice; - A1 is the area of trapezium slice; - A2 is the area of triangle slice; The x-axis of centroid of the forms can be obtained adding the bigger x point with the smaller x point and dividing by 2. The trapezium starts at 0 and goes to 50, so (50+0)/2 = 25. The triangle starts at 25 and goes to 75, so (75+25)/2 = 50. We have x1=25 and x2=50. Now we calculate the whole area of trapezium by adding the bases and multiplying by the height/2. The smaller base have 25 width, the bigger have 50 width and the height is 100. So (50+25)*(100/2) = 3750. As we need only 10% of this area, we got A1 = 375. The whole area of the triangle is base times height divided by 2. So, (50*100)/2 = 2500. As we need only 90%, we got A2 = 2250. Now, we replace the formula: x = x1+(x2-x1)*(A2/(A1+A2)) x = 25+(50-25)*(2250/(375+2250)) x = 25+25*(2250/2625) x = 25+25*0.8571 x = 25+21.42 x = 46.42
@edvanderschuit
@edvanderschuit 5 месяцев назад
Ok
@drbonesshow1
@drbonesshow1 2 года назад
You are Brian? Or are your really Brian?
@basertech5222
@basertech5222 Год назад
Lütfü Aliasker Zade
@StefanBrock_PL
@StefanBrock_PL 2 года назад
Nice introduction without mathematics :-)
@dantero_
@dantero_ Год назад
i do not understand why %46 for this example: 12:01
@dantero_
@dantero_ Год назад
How can we calculate the centroid of an shape?
@sethmobit
@sethmobit 7 месяцев назад
me neither, I was trying to find if someone said about
@sethmobit
@sethmobit 7 месяцев назад
Finally I got it! How as him said, 46 is the X axis of centroid of the form that represents 10% of the trapezium of low membership and 90% of medium membership, right? The X axis of the centroid can be obtained by the formula: x = x1 + (x2-x1) * (A2/(A1+A2)) where: - x1 is the x-axis of centroid of trapezium slice; - x2 is the x-axis of centroid of triangle slice; - A1 is the area of trapezium slice; - A2 is the area of triangle slice; The x-axis of centroid of the forms can be obtained adding the bigger x point with the smaller x point and dividing by 2. The trapezium starts at 0 and goes to 50, so (50+0)/2 = 25. The triangle starts at 25 and goes to 75, so (75+25)/2 = 50. We have x1=25 and x2=50. Now we calculate the whole area of trapezium by adding the bases and multiplying by the height/2. The smaller base have 25 width, the bigger have 50 width and the height is 100. So (50+25)*(100/2) = 3750. As we need only 10% of this area, we got A1 = 375. The whole area of the triangle is base times height divided by 2. So, (50*100)/2 = 2500. As we need only 90%, we got A2 = 2250. Now, we replace the formula: x = x1+(x2-x1)*(A2/(A1+A2)) x = 25+(50-25)*(2250/(375+2250)) x = 25+25*(2250/2625) x = 25+25*0.8571 x = 25+21.42 x = 46.42
@dantero_
@dantero_ 7 месяцев назад
@@sethmobit 👍🏻👏🏻👏🏻
@JasonTubeOffical
@JasonTubeOffical Год назад
Thanks
Далее
Best exercises to lose weight ! 😱
00:19
Просмотров 7 млн
An Introduction to Fuzzy Logic
3:48
Просмотров 507 тыс.
Fuzzy Logic - Computerphile
9:02
Просмотров 374 тыс.
PID vs. Other Control Methods: What's the Best Choice
10:33
Fuzzy Logic Controller Tuning | Fuzzy Logic, Part 4
18:29
Modeling Dynamic Systems
13:34
Просмотров 12 тыс.
Everything You Need to Know About Control Theory
16:08
Просмотров 522 тыс.
ЗАБЫТЫЙ IPHONE 😳
0:31
Просмотров 20 тыс.
iPhone socket cleaning #Fixit
0:30
Просмотров 17 млн