Arrays

Ascii code lookup in c

The following C project contains the C source code and C examples used for ascii code lookup. It takes a charecter entered by the user and shows its ASCII code. It is done by using type conversion, that is from a char to an int. It is useful for any purpose ASCII is used.

Bound values of an array in matlab

The following Matlab project contains the source code and Matlab examples used for bound values of an array. Check whether value of the array within specified range or not, if in range it stays there as it is and if not then substitute by boundary value (depending upon which it breaks, if higher boundary breaks then replaced by higher boundary value and vice-versa) function [ A2comp ] = MinMaxCheck( minimum, maximum, A2comp ) A2comp is the array to check minimum and maximum are arrays which holds the minimum and maximum value of each element of an array (A2comp) respectively

Circular vector buffer (constant+fast performance, double buffered) in matlab

The following Matlab project contains the source code and Matlab examples used for circular vector buffer (constant+fast performance, double buffered) . circVBuf class defines a circular double buffered vector buffer * newest vector has the highest index * oldest vector has the lowest index * append adds new vectors at the 'right side' of the buffer * current buffer always accessable as a complete single subarray buf(fst:lst)      specials: * any matrix operations at any time possible ! * time required for appending is independent on buffer status !
Subscribe to RSS - Arrays