Difference between matrix and scalar subtraction
1 次查看(过去 30 天)
显示 更早的评论
I have used 'interp1' to gain interpolated data points for temperature and the enthalpy - for the 'h2' variable in 'Q1_c_7_40Check.m' script. I have then used this data to find the variable 'B'.
I then adapted the script to use a range of physical data (-40<T1<-15) for the refrigerant temperature in file 'Q1_c_7'. what I notice in the plotted graphs is the data point corresponding to T1=-40°C is low.
I have used variables p1,p2,o1,o2 to extract the part of each matrix corresponding to T1=-40°C. Variables q1,q2 are the numerator and denominator of variable B, respectively. NB: I have included these variables in the original script for direct comparison.
In effect the variables p,o,q represent the same quantities in each script, and so should be identical. It is shown the there is a difference between the q1 and q2 in the separate scripts.
I cannot understand why.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Large Files and Big Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!