Integrand output size does not match the input size.

2 ビュー (過去 30 日間)
BALPARTAP SINGH
BALPARTAP SINGH 2020 年 12 月 6 日
I'm giving theta ranging from 1 to 180 from excel file but it is showing this error.
theta = xlsread('orientations.xlsx',1,'A:A');
theta = theta * pi /180;
O = zeros(180,1);
count = 1;
for i= 1 : length(theta)
O_temp = integral2(@(theta_,phi_) sin(theta(i)) , 0, pi, 0, pi);
O = (O_temp)^-1;
count = count + 1;
end

回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by