leftimage for poohprod.ru

Boolean Algebra

These are the four logical operators for Boolean Algebra in Matlab.
It was named after George Boole, who first defined an algebraic system of logic in 19th. century.

Boolean logic has many applications in electronics, hardware and software, and is the basis of modern digital electronics.

Boolean and Relational operators Summary
In Matlab, there are four logical (aka boolean) operators. These operators produce vectors or matrices of the same size as the operands, with 1 when the condition is true, and 0 when the condition is false...

Laws of Boolean Algebra
In the following axioms and theorems, the '+' or 'V' signs represent a logical OR (or conjunction), the '.' or '^' signs represent a logical AND (or disjunction), and '¬' or '~' represent a logical NOT ( or negation)...

De Morgan's Laws
In Boolean Algebra, there are some very important laws which are called the De Morgan's laws. These laws teach us how to interchange NOT with AND or OR logical operators...

Logical AND. See details and examples
A & B performs a logical AND of arrays A and B and returns an array containing elements set to either logical 1 (TRUE) or logical 0 (FALSE).

Logical OR. See details and examples
A | B performs a logical OR of arrays A and B and returns an array containing elements set to either logical 1 (TRUE) or logical 0 (FALSE).

Logical EXCLUSIVE OR. See details and examples
For the logical exclusive XOR(A,B), the result is logical 1 (TRUE) where either A or B, but not both, is nonzero. The result is logical 0 (FALSE) where A and B are both zero or nonzero.

Logical NOT. See details and examples
~A performs a logical NOT of input array A, and returns an array containing elements set to either logical 1 (TRUE) or logical 0 (FALSE).

Combinational Logic
Combinational logic and sequential one. Its main difference is that the first type of circuit logic doesn’t depend on time or sequence of movements, and the second type of logic does. Let's code some gates...


From 'Boolean Algebra' to home

Top

Matlab Tutorials

Matlab - Beyond the basics





footer for boolean algebra page


Related pages


how to solve an equation in matlabonline calculation of compound interesthexadecimal examplepiece wise defined functionscalculate half life decaydefining function in matlabfibonacci series programsteps to convert binary to decimalfinding the domain of a piecewise functionascii to decimal tablegcd flowchartmatlab gui examples codesawtooth fourier transformchol matlabmathworks forummaclaurin series for cosxfibonacci constantmatlab 3d surface plot examplehexadecimal conversion tableimpulse response of rc circuitsingular value decomposition tutorialestimated scrap value of vehicleeuclid algorithm examplebisection method matlabformula for salvage valuelinear equation solver matlabstrings in matlabtextscangraphing piecewise defined functionspower correction capacitorprogram for bisection methodmatrix division in matlabplot graph on matlabexamples of harmonic seriesexpansion of cosineascii code table for alphabetsintegrand calculatorhow to solve polynomial equation in matlabmatlab getframeexponential regression functionmatlab plot boxmatlab function randgui matlab codecalculating electricity cost formulaplotting imaginary numbersplotting a graph in matlabvehicle salvage value calculatorgraycodebinomial probability distribution calculatormatlab even oddhow to plot standard deviation in matlabhalf life formulastransient response of rc circuitcombinational gatesascii codes for alphabetscompound interest calculator spreadsheetgray code to decimal converterbeginners guide to matlabascii table printableexamples of fibonacciformat hex matlabgui tutorialsmatlab curve fit toolgcd euclidean algorithm exampleconverting from binary to hexadecimalgaus bellfour band resistor color codehalf life problem solvermatlab bookhow to calculate salvage value of an assethow to estimate salvage valueslope intercept form of a line calculatorlagrange interpolating polynomial matlab codelinewidth plot matlabkeyboard ascii code tablematlab bisection methodhow to figure square feet from inchesmatlab coding tutorialeye function matlabmatlab curve fitting