Display image with 3 variable from abundance of excel data.
Ältere Kommentare anzeigen
Dear community,
My data as attached is in every minute in every day of January 2014 from 31 different of observer (PRN). My variables I want to tackle are Day, Time and VTEC.
First, I need to find rate of change of the VTEC (ROV) within intervals of 1 minute for two cases (i) all PRN, (ii) individual PRN.
Then, I need to find the index for ROV (ROVI) by the standard deviation of the ROV in a five-minute interval also for both cases (i) all PRN, (ii) individual PRN.
Finally, I want to display the image of Time (x), Day (y) and ROVI and yes for both cases (i) all PRN, (ii) individual PRN.
If you asked me whether I already tried or not. The answer is yes (may refer my questions' asked) but I made in seperate code means calculate ROV one .m, ROVI another .m and I find it inconvenience for me. Furthermore, I encounter problem to do the image because of the ROVI value some is NaN and even in imaginary number. Hence, I also worry that what I've done from the start is completely wrong to what should be calculated.
I would be greatful if anyone could help settling this lingering problem.
5 Kommentare
Cris LaPierre
am 8 Jan. 2021
Could you share your code anyway? I ask because I don't want to have to start testing from the very beginning. Additionally, it runs the risk of causing the same problem you've already experienced - we provide a solution that meets the requirements of the question, but doesn't integrate into your larger code.
Image Analyst
am 9 Jan. 2021
"I encounter problem to do the image" <=== What image? Did you forget to attach an image that we'd need?
Cris LaPierre
am 9 Jan. 2021
Bearbeitet: Cris LaPierre
am 9 Jan. 2021
You are getting complex numbers because you are taking the square root of negative numbers (some of your differences are negative). You can use either real or abs to extract the real part or compute the magnitude of your complex numbers (respectively).
Ann
am 10 Jan. 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


