About interpolation pressure & temperature

1 view (last 30 days)
주희 박
주희 박 on 17 Jul 2022
Edited: 주희 박 on 17 Jul 2022
Hello. I attached observed Pressure and Temperature.
Pressure was not observed in same interval.
So I want to make Pressure in same interval .
ex)Press=[5 6 7 8 9 10 11]
And also want to get Temperature of Pressure which has same interval.
Thank you.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 17 Jul 2022
Edited: KALYAN ACHARJYA on 17 Jul 2022
The are multiple ways to sort the structure fields data points-
Procedure 1:
b=load('Tempe.mat');
temp_data=sort(vertcat(b.TT))
Procedure 2:
Struct2array
cell2mat
Procedure 3:
struct2table
Do the operation
Revert back to original form
Many ways, hope it helps !

Categories

Find more on Data Type Conversion 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!