How can I multiply each element of a polynomial with different coefficients??
3 views (last 30 days)
Show older comments
Lts say I have a function in s domain, using iLaplace code at end I have an inverse laplace at the form of: exp(t)+exp(-2t)+t+5 How can I make this polynomial to be like c1*exp(t)+c2*exp(-2t)+c3*t+5*c4*??
Answers (1)
Sayyed Ahmad
on 19 Jun 2018
c1*exp(t)+c2*exp(-2*t)+c3*t+5*c4
if your c1 to cn are also arrays with the same dimension as t-series
c1.*exp(t)+c2.*exp(-2*t)+c3.*t+5*c4
0 Comments
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!