Thursday, September 14, 2017

A Brief Introduction of Fuzzy Logic and Systems

As the title of post suggests, this presentation is about introduction of fuzzy logic and fuzzy systems. The resource used to create these presentation is mainly the book, Fuzzy Logic with Engineering Applications (3rd edition) by Timothy J. Ross. This presentation is delivered on first session of two days workshop held at Hamdard University  on 12, 14 September 2017 in collaboration with Pakistan Engineering Council.

[PRESENTATION LINK]

The topics covered in this presentation delivered are as follows.

  • Imprecision
  • Uncertainty and Information
  • Probability and Fuzzy
  • Classical and Fuzzy Sets
  • Fuzzy Logic
  • Fuzzy Systems
  • The second session was delivered by Engr. Ghulam-e-Mustafa Abro. It was hands-on session to use Simulink & MATLAB for implementation of fuzzy control systems. The related presentations are in the following links.

    [PRESENTATION_1 LINK] [PRESENTATION_2 LINK]

    Lotfi A. Zadeh who introduced Fuzzy concepts died on September 6, 2017.



    Saturday, September 9, 2017

    Ponder Alliance 3rd Session at NED UET - Focus Group 3 Guest Speaker Session Presentation

    Ponder Alliance has successfully organized 3rd session at NED UET Karachi. I have presented summary of discussion held in a previous session related to focus group 3 Guest Speaker Session. The presentation main points are as follows.

    • Guest speaker session observations 
    • Identified reasons and possible solutions
    • Proposed action plan

    Further details in presentation slides.

    [PRESENTATION LINK]


    Monday, September 4, 2017

    Histogram Equalization Implemented on MATLAB & Simulink

    Today was finally paid off with the Simulink model that generated histogram equalized output. I started with the example model (Fig. 1). It appeared after typing ex_vision_find_histogram in command line of MATLAB 2016b.

    Fig. 1 

    Conversion to gray scale version was really time-consuming. After a couple of mistakes and few hours, I decided to do it as in Fig. 2. 


    Fig. 2

    The real challenge was to set 'Sample time' to 0.2 for 'Image From File' block. This information was not found in initial example in Fig. 1. Reading a couple of articles after Google search on error message was quite helpful to do error-and-trial that really worked. The input color image and gray scale image are in Fig. 3 and Fig. 4, respectively.

    Fig. 3

    Fig. 4

    Histograms are shown in Fig. 5 and equalized image in Fig. 6. 

    Fig. 5 Need to right click inside scope and select 'Autoscale'. 

    Fig. 6

    Do not forget errors that appeared in MATLAB command window, see Fig. 7. 

    Fig. 7

    Finally, the error which took most of time. It really deserve a treat -- regenerated in Fig. 8 to share learning of the day! How to fix? See Fig. 9. 

    Fig. 8

    Fig. 9

    How I figured it out? Really! Fig. 10 explains it. 

    Fig. 10

    Experience on Travelling Two Way Road to Hamdard University


    The video below adds new experience to an earlier adventurous version. This video is dated 30 August 2017 whereas the earlier adventurous video was taken on 18 April 2015.

    [Video Link]



    [Link to the Older Post] A Real 4D Motion Ride Experience