Cell contents reference from a non-cell array object. Error in ShortCircuitCurrentIncrease (line 48) RadiantIntensity(i) = integral2{polarfun{: , 181 },PolarAngle3(i),0,pi,0,pi};
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
PolarAngle2 = [-pi/2:(1/180*pi):pi/2]; %incremental of polar angle of sun rays
PolarAngle3 = PolarAngle2';
y = sin(PolarAngle3);
for (i=1:1:181)
NormalizedIntensity1(i) = NormalizedIntensity(i) * y(i);
RadiantIntensity = zeros(size(NormalizedIntensity1));
RadiantIntensity = RadiantIntensity';
polarfun = @(AzimuthAngle,PolarAngle3) 1./((NormalizedIntensity1(i))');
end
for(i=1:1:181)
RadiantIntensity(i) = integral2(polarfun{: , 181 },PolarAngle3(i),0,pi,0,pi);
figure;
plot(Wavelengthnm,RadiantIntensity);
xlabel('Wavelength(nm)');
ylabel('WavelengthDependentIrradiance');
title('WavelengthDependentIrradiance against Wavelength');
end
2 个评论
Ang
2015-12-30
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!