Matrix dimensions must agree.
Mostrar comentarios más antiguos
i dont where the wrong in this equation:
function F = Fint(a)
F = quad(@(x)(x.*sin(x))./(1-(2.*a.*cos(x))+a.^(2)),0,pi);
end
where the output i got is
Matrix dimensions must agree.
Error in Fint>@(x)(x.*sin(x))./(1-(2.*a.*cos(x))+a.^(2)) (line 2)
F = quad(@(x)(x.*sin(x))./(1-(2.*a.*cos(x))+a.^(2)),0,pi);
2 comentarios
madhan ravi
el 26 de Ag. de 2018
Editada: madhan ravi
el 26 de Ag. de 2018
Is a a vector or scalar ?
Jefri Nazulrullah bin Zulkepli Amin
el 26 de Ag. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!