how to plot gaussian filter using meshgrid Function
31 visualizzazioni (ultimi 30 giorni)
To plot a function of two variables, you need to generate u and v matrices consisting of repeated rows and columns, respectively, over the domain of the function H and D. Use Matlab documentation to learn about the meshgrid function, and then use it to define u and v.
John BG il 23 Lug 2017
this is John BG ( <mailto:firstname.lastname@example.org email@example.com> )
generating U and V with meshgrid
note I have extended the plot limits to [-N N] and [-M M], since the question reads [1 N] [1 M] the plot would be just a quarter 'chunk' of the cake, not including the peak
if you find this answer useful would you please be so kind to consider marking my answer as Accepted Answer?
To any other reader, if you find this answer useful please consider clicking on the thumbs-up vote link
thanks in advance