Author: Akash Kurup

Ternary Operators in C

The ? (ternary condition) operator is a more efficient form for expressing simple if statements. It has the following form:   expression1 ? expression2: expression3 It simply states: if expression1...

Order of Precedence in C

It is necessary to be careful of the meaning of such expressions as  a + b * c We may want the effect as either (a + b) *...

Global Variables in C

Global variables are defined above main() in the following way:-           short number,sum; int bignumber,bigsum; char letter;   main() {   } It is also possible to pre-initialise global variables...

C Program Structure

A C program basically has the following form: Preprocessor Commands Type definitions Function prototypes — declare function types and variables passed to function. Variables Functions We must have a...

Characteristics of C

We briefly list some of C’s characteristics that define the language and also have lead to its popularity as a programming language. Naturally we will be studying many of...

Membership Functions

A membership function (MF) is a curve that defines how each point in the input space is mapped to a membership value (or degree of membership) between 0 and...

Fuzzy Set Operations

Definitions. Universe of DiscourseThe Universe of Discourse is the range of all possible values for an input to a fuzzy system. Fuzzy SetA Fuzzy Set is any set that...

Fuzzy Sets

Fuzzy Set Theory was formalised by Professor Lofti Zadeh at the University of California in 1965. What Zadeh proposed is very much a paradigm shift that first gained acceptance...

Introduction to Soft Computing

In computer science, soft computing is the use of inexact solutions to computationally hard tasks such as the solution of NP-complete problems, for which there is no known algorithm...

Hebbian Learning

Hebbian learning is one of the oldest learning algorithms, and is based in large part on the dynamics of biological systems. A synapse between two neurons is strengthened when...