How i can trace HeatMap of three vectors data using imagesc ?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
hi Community ?
I am trying to trace a heatmap of three vectors data ( in my case i would like to trace the GHI=f(azimut,elevation) data in function of azimut and elevation). I have already trace the GHI=f(day,hour) using the imagesc, the below code :
k=1;
for i=1:365; % 365 day
for j=1:24; % 24 hours
data(j,i)=GHI(k);
k=k+1 ;
if(k==length(GHI)-1) k=1;
end
end
end
imagesc(data), colormap(jet), colorbar;caxis([0 1100]);
the code works fine because the day and the hour data are integers and adjacent values, But when I try to trace GHI=f(azimut,elevation) the data are real and not adjacent, so i get error in for loops and if I try to use round(A) function and remove the duplicate ( unique(..) function ) values to get an adjacent data I lose a lot of my data. below you find some GHI=f(azimut,elevation) example data.
Thank you :)

0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!