yes I solved by A=zeros(239,239) and B=zeros(239,1) ,,, I am getting all the temperatures for the nodes, yet when I tried to plot it in using the code attached it tells me that index exceeds matrix dimension , any advice ? and thank you very much
I am getting NaN as answer in the code, can please give me some advice
1 次查看(过去 30 天)
显示 更早的评论
I have attached the code in a comment , if you guys have any advice thank you
采纳的回答
Walter Roberson
2016-10-29
What is your line
T_new=T(1:182,T_1,183:207,T_1,200:216,T_2,217:233,T_2)
intended to mean?
I suspect you want
T_new=T(1:182, [T_1,183:207,T_1,200:216,T_2,217:233,T_2])
Note: your T_1 and T_2 are empty. You assigned them on the line above with
T_1=t_i*ones(8:1)
T_2=t_i*ones(16:1)
which should probably be
T_1=t_i*ones(1, 8);
T_2=t_i*ones(1, 16);
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Heat and Mass Transfer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!