필터 지우기
필터 지우기

MATLAB coding help pl\

조회 수: 1 (최근 30일)
Boss Man
Boss Man 2020년 1월 25일
편집: Stephen23 2020년 1월 25일
Heres what I Have sofar
outdoorapr = xlsread('outdoorapr.xlsx','D2:D8586');
indoorapr=xlsread('indoorapr.xlsx','D2:D8586');
time=xlsread('time.xlsx','C2:C8586')
t=time
a=(outdoorapr);
b=(indoorapr);
dt=diff(a)/5;
c=dt./(b(1:end-1)-a(1:end-1));%diff(a) will be one less than matrix a and b
plot(t,c);
I keep running into errors, I understand that I need to code the time as a function but idk how to? My time isnt uniform so I'd prefer using seconds
I dk how to read the data as text
  댓글 수: 1
Turlough Hughes
Turlough Hughes 2020년 1월 25일
You haven't attached time.xlsx

댓글을 달려면 로그인하십시오.

답변 (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