how to overcome undefined function sum.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Matt J
am 29 Dez. 2017
Bearbeitet: Matt J
am 29 Dez. 2017
You need to give some sort of input to throughput_E in this line
sum(sum( throughput_E( t_input) ));
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!