About interpolation pressure & temperature

1 次查看(过去 30 天)
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.

回答(1 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2022-7-17
编辑:KALYAN ACHARJYA 2022-7-17
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 !

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by