About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 5 years ago
  • Total downloads: 108
  • Price: Free |
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Yuryi Gribov
See full specifications

scripts default iconCELP (CELl Processing) (Scripts) Publisher's description

CELP (CELl Processing) is a functional programming package for Matlab.

CELP (CELl Processing) is a functional programming package for Matlab.
It is often better to use FP instead of loops:
- it's more compact;
- it's more clear.

Matlab has all prerequisites to implement a Lisp-like FP:
- anonymous functions, @'s <-> lambdas;
- cell arrays <-> lists.

Matlab has also several peculiarities:
- cell arrays may have arbitrary dimensions (not only 1d);
- functions may have several outputs
(btw you can use builtin DEAL to implement it in @'s);
- vectors can be converted to cells and back using

Currently the package includes
CPAPPLY Analogue of Lisp's APPLY
CPBIND Substitution of argument
CPEVAL Evaluate multioutput function and return outputs in one cell array
CPFILTER Analogue of Lisp's FILTER
CPIF Conditional composition of functions
CPMAP Analogue of Lisp's MAPCAR
CPREDUCE Analogue of Lisp's REDUCE
(use 'help *' for more info and examples).

CPFILTER, CPMAP, CPREDUCE are equivalents of Lisp's routines. The latter
two are implemented in MEXs for speed.

CPIF and CPBIND are used for construction of new functions from
defined. They are implemented with the help of nested functions.

CPAPPLY, CPEVAL deal with multioutput functions. One general limitation of
M-language is that when you write
only one output of g(x) is substituted into f. Thus you need to use
[y,z] = g(x);
to substitute all outputs. Using CELP's functions you may code it as

The main disadvantage of CELP is speed - evaluation of anonymous functions
can be quite slow. Thus I do not recommend to use CELP with @'s in
intensive calculations (probably Nathan Thern's TMP_HANDLE may be of help
here - search for it on FEX).

System Requirements:

MATLAB 7.0.4 (R14SP2)
Program Release Status: New Release
Program Install Support: Install and Uninstall

Is CELP (CELl Processing) (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.