Can anyone explain the error shown?
Ältere Kommentare anzeigen
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 Kommentare
Ang
am 7 Jan. 2016
Bearbeitet: Walter Roberson
am 7 Jan. 2016
Ang
am 7 Jan. 2016
Ang
am 7 Jan. 2016
Bearbeitet: Walter Roberson
am 7 Jan. 2016
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Numerical Integration and Differentiation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!