Adding Matrices of Different Sizes
显示 更早的评论
I am calculation Cooling Loads.
I need to find Total Cooling Load (Qtotal)
Total Cooling Load is technically the sum of my first floor (QF1), second floor (QF2), sensible heat gain by infiltration (Qis) and latent heat gain by infiltration (Qil).
So,
Qtotal = QF1+QF2+Qis+Qil;
But due to hours of occupation,
QF1 is a 1:12 matrix
QF2 is a 1:8 matrix
Qis and Qil are both 1:24 matrix
ANy help on how i can go about calculating this. Thanks.
1 个评论
The 'hours of occupation' comment leads me to believe that each vector contains samples of a measurment across time but those time stamps aren't aligned. If that's the case, hopefully you have the timestamps for each vector in which case you can interpolate using interp1(). If the sampling rates are fixed but unequal between vectors, you could also look into resample(). Ultimately, it might be beneficial to organize the data into a timetable with 1 column of timstamps and the other columns would contain your measurements.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Particle & Nuclear Physics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!