sum of products to a series and a function
Show older comments
Hello,
I wanted to find a series of 'h' starting from 1 to "p" for the expression:

where H(m) is a known series of p values; erfc is complementary error function, u is a known parameter. I have written the expression in Mupad successfully and could evaluate the series in Matlab by copying the expression from Mupad to matlab command window since H(m)is located in Matlab worksplace. This is tedious when the series gets longer and needs to change the value of "u".
I appreciate your help. Thank you. maharjan
Answers (2)
per isakson
on 1 Feb 2015
Edited: per isakson
on 1 Feb 2015
1 vote
Is matlabFunction what you are looking for?   See matlabFunction, Convert symbolic expression to function handle or file
Maharjan
on 4 Feb 2015
Categories
Find more on Code Performance in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!