Difference between matrix and scalar subtraction
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Large Files and Big Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!