how to overcome undefined function sum.
1 view (last 30 days)
Show older comments
throughput_E =@(t)Bmax*log2(1+p_fix(t)*gamma(t)/sum(p_fix(q,1,t-1).*gamma(t)));
overall_throughput_E = sum(sum(throughput_E));
If i run the code i am getting Undefined function 'sum' for input arguments of type 'function_handle'.
Error in overall_throughput_E = sum(sum(throughput_E));
4 Comments
See Also
Categories
Find more on Sparse Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!