how to overcome undefined function sum.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Matt J
el 29 de Dic. de 2017
Editada: Matt J
el 29 de Dic. de 2017
You need to give some sort of input to throughput_E in this line
sum(sum( throughput_E( t_input) ));
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!