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


Discussion Groups

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

  

Post a new Thread

Symsum - marc...@gmail.com - Aug 2 8:39:26 2008



Hi!!

I have a function that I would love to apply using the syms functions. It is ->
sum((IOk/Nk)*exp(-t/Pk)) where k is my index. Now IO, N, and P I already have values for. I
have tried to define IO, N and P in the following way. For example -> syms(IO) ->IO(1)=5
->IO(2)=9.
The question is now how do I write the symsum expression so that when it does sum it will be
like ->IO(1)/N(1)*exp(-t/P(1))+IO(2)/N(2)*exp(-t/P(2))+ .... The reason I would prefer to
use symbolic toolbox is because I would want to differentiate and integrate and some other
operations symbolically.

Please help. I keep getting a subindexing error no matter how many ways I try to write the
symsum expression.

Thanks Duro



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