Can anyone explain the error shown?
Mostrar comentarios más antiguos
PolarAngle2 = [0:(1/180*pi):pi];
y = sin(PolarAngle2);
y = y';
SecondNormalizedIntensity = zeros(size(NormalizedIntensity));
for i = 1 : 1: 181
polarfun = @(PolarAngle2) 1./SecondNormalizedIntensity(i);
SecondNormalizedIntensity(i) = NormalizedIntensity(i) * y(i);
RadiantIntensity = zeros(size(SecondNormalizedIntensity));
RadiantIntensity = RadiantIntensity';
first = integral(polarfun,0,pi);
end
3 comentarios
Ang
el 7 de En. de 2016
Editada: Walter Roberson
el 7 de En. de 2016
Ang
el 7 de En. de 2016
Ang
el 7 de En. de 2016
Editada: Walter Roberson
el 7 de En. de 2016
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Numerical Integration and Differentiation 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!