About interpolation pressure & temperature

조회 수: 4 (최근 30일)
주희 박
주희 박 2022년 7월 17일
편집: 주희 박 2022년 7월 17일
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