
Technical discussion about Matlab and issues related to Digital Signal Processing.
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