Converting a 1*1 sym into a double

How can I convert the following into a double?
-(sum(exp((pi*(k*2*i + i))/4)/(2*k + 1), k == -Inf..Inf
I've tried using both the vpa and double functions.

Answers (0)

Asked:

on 1 Mar 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!