Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Checking the quality of a measured data in matrix: 24x45x65 using pcolor function?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello
i have a matrix of : 24x45x65 -> 24 hours x 45 days x 63 customers(last customer have more data so it goes to 65)
however the normal power usage of a customer is 0.3-1.3 or something depending on when and how long its used...but datas like 5+ or 0 for long time has to do with bad quality or so.. i wanna see if its possible using the Pcolor matlab function or any other function to plot me a quality measurement or show me in other ways where the data is bad.. the file with datas is attached
thanks for helping alot
0 comentarios
Respuestas (1)
Star Strider
el 27 de Abr. de 2014
If you want the indices of the zero power usage entries and power usage >=5 , I suggest:
load x_weekday
xwkd = x_weekday;
pzro = [];
pex = [];
for k1 = 1:size(xwkd,3)
[rz,cz] = find(xwkd(:,:,k1) == 0);
pzro = [pzro; rz, cz, repmat(k1,size(rz))]; % Indices for zero power usage
[rx,cx] = find(xwkd(:,:,k1) >= 5);
pex = [pex; rx,cx,repmat(k1,size(rx))]; % Indices for excessive power usage (5 kWh here)
end
The pzro matrix has the indices of the zero entries as [row column page] corresponding to [Hour Day Customer] (if I remember correctly). The pex matrix has indices of power usage >=5 kWh, in the same order and format.
4 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!