Community Profile

photo

ytu1990


Last seen: quasi 2 anni fa Attivo dal 2021

Followers: 0   Following: 0

Statistiche

  • Thankful Level 1
  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


'histcounts2(y,x,Xedges,Yedges)' rather than 'histcounts2(x,y,Xedges,Yedges)' gives me the correct result, why?
I have a 2-column x-y dataset, and want to obtain a density map, thus hitscounts2 is useful to count the number of point in the ...

oltre 2 anni fa | 1 risposta | 1

1

risposta

Risposto
Extract data from surface (4x1) to 2D matrix
[X,Y]=meshgrid(min(x):1:max(x),min(y):1:max(y)); 1 is the interval to create the grid Z=griddata(x,y,z,X,Y); D=griddata(x,y,Da...

oltre 2 anni fa | 0