help p\z ssasas ds

조회 수: 1 (최근 30일)
Boss Man
Boss Man 2020년 2월 6일
i have the following data:
a = xlsread('outdoorall.xlsx','G2:H52364');
b=xlsread('indoorall.xlsx','G2:H52364'); %2397
time=xlsread('outdoorall.xlsx','G2:G52364');
for i=1:2364
dt=(b(i+1)-b(i)); % change in indoor temperature divided by time
c=dt/a(i)-b(i);
plot(c)
end
the problem is my time periods are irregular so im struggling to code DT above as idk how to set time??? i dont want to use xlsread due to this
i was told to find a function or code it by myself but idk understand matlab very well
also is my for loop correct??

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by