how to overcome undefined function sum.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Matt J
le 29 Déc 2017
Modifié(e) : Matt J
le 29 Déc 2017
You need to give some sort of input to throughput_E in this line
sum(sum( throughput_E( t_input) ));
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!