Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | Matlab DSP | Manipulate symbolic (algebraic) expressions

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

Manipulate symbolic (algebraic) expressions - Dilip Ahalpara - Sep 5 13:26:25 2008



Hi all,
I need to manage an array of algebraic expressions (e.g. 2*x^2+3*x-5) 
having binary operators (+, -, *, / and ^). Essentially what is 
required is to evaluate a given symbolic expression by substituting a 
numerical value for its symbolic variable, which is straighforward to 
do using Symbolic Math toolkit. At the same time I need to do 
considerable amount of processing on these expressions before I 
evaluate them, e.g. cut the expression in 2 parts, join/ concatenate 2 
expressions etc. Since symbolic expression manipulation is known to be 
slow, would it be a better idea to store the expressions as strings 
and do cut, join etc operations on them and then cast them in symbolic 
expression form? Also kindly let me know if useful functions are 
available for manipulating algebraic expressions.
Thanking you for your help.



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )