Could anyone help to covert the equation into matlab code
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Barry Allen
el 27 de Feb. de 2020
Comentada: Barry Allen
el 27 de Feb. de 2020
How to convert this into code?
2 comentarios
Respuesta aceptada
David Hill
el 27 de Feb. de 2020
Not sure what arrays p and g should be.
B=sum(log(1+(p(2:n).*g(2:n))./(1+arrayfun(@(x)sum(x*g(3:n)),p(2:n))))/log(2));
7 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!