Hi All, I have a curly question, maybe!
I have a light sensor (LDR) monitoring the day light and I've worked out that between the values 50 and 60 is when it's either getting dark or getting light, basically sunrise or sunset.
So my theory is to retrieve values in the range between 50 and 60 that happened during AM giving me an approximate sunrise time and then use the same range during PM giving me the sunset time. Because I live in QLD, Australia the sunrise and sunset are around the same time all year round (QLD does not implement day light saving at all) so how would I retrieve values recorded between say 5am to 7am and values between 5pm and 7pm or the lowest value that occurred in the morning time and the lowest value that occurred in the evening time. How would I be able to do this in MATLAB to retrieve the data from my channel?
Has anyone done anything similar, nothing came up during my research hence the question!