Give "Input data must be a numeric, cell, or logical array" error. How to take data from loop Vpasolve to excel?
1 次查看(过去 30 天)
显示 更早的评论
How can i take answer of this loop in excel ?
L = Ns*A*k*T
[num] = xlsread('Isc.xlsx');
F = num
[num] = xlsread('Voc.xlsx');
B = num
VLA = size (F,1);
for i = 1:1:VLA
for j= 0:9:18
syms Q
eq = Q == (F(i,1)*(1-(exp(q*(j - B(i,1) + (Q*Rs))/L))));
sol = vpasolve(eq)
end
end
xlswrite('C:\Users\S. S.\Desktop\figure', sol)
2 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!