I want to count number of hours for condition if (PPD<6 and fOcc=1) then count the number of hours and put them in tables ...how can i make these in matlab?

댓글 수: 2

Geoff Hayes
Geoff Hayes 2021년 7월 17일
sherif - you may need to provide more details. What is the data that you are looping over? What data do you want to put into tables?
Peter Perkins
Peter Perkins 2021년 7월 27일
Generally speaking, you would have your data in a table, create logical vectors to find PPD<6 and fOcc=1, and those together, and look for runs of trues. With no more information to go on, hard to say more.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

릴리스

R2016b

질문:

2021년 7월 17일

댓글:

2021년 7월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by