photo

Robert Daly


Australian Water Quality Centre

Last seen: 1 month ago Active since 2021

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer
  • First Review

View badges

Feeds

View by

Answered
Display/highlight specific pixels of in image
I am thinking you can't use imshow to plot individual pixels on top of an existing image. You need a full raster matrix. Here a...

4 months ago | 0

Answered
Searching for the nearest point on a grid using dsearchn
Well this is embarrassing... the answer is it does work. The problem was some sloppy programming, I reused the NearestPoint var...

4 months ago | 0

| accepted

Question


Searching for the nearest point on a grid using dsearchn
I am trying to compare field data with classified sattellite imagery. What I am aiming for is to find the nearest pixel in the ...

4 months ago | 1 answer | 1

1

answer

Answered
Scale patch objects relative to plot Zoom level
To answer my own question... I modified the function to store the important data to recreate the arrows in each patch as "UserD...

12 months ago | 0

| accepted

Question


Scale patch objects relative to plot Zoom level
I have a function to plot wind speed with directional arrows overlayed on top. Each arrow is created using a patch object. To ...

12 months ago | 1 answer | 0

1

answer

Answered
Plot of windspeed and wind direction in time series
I wrote this function that gives similar output. The arrows go a bit wierd if you zoom in so it is best to plot only what you w...

12 months ago | 0

Answered
how to convert wind direction to degrees?
Updated answer using the dictionary data type added since R2022b. Intro to dictionaries blog Dictionaries are vectorised so you...

12 months ago | 0

Answered
How to smoothen or interpolate an array of data if I cut out some parts of it?
I get the idea that maybe you have some bad data points you would like to get rid of and then fill with interpolated data. I wo...

1 year ago | 1

Answered
Convert x y coordinates and z data to Matrix
I would use interpolation to convert to a regular grid. scatteredInterpolant is the funtion to do this with your irregularly sp...

1 year ago | 0

Answered
Reshape or convert vectors to use it with pcolor
pcolor or contourf need gridded data to plot. What do you mean when you say "filling a gid is not optimal since the original g...

1 year ago | 0

Question


Video Reader: Failed to initialize internal resources
I am trying to read an MP4 video file from a GoPro camera. The following error shows up when using VideoReader... v = VideoRea...

1 year ago | 1 answer | 0

1

answer

Answered
Using trapz to calculate the area under part of the whole pulse where y is not zero
I would run traps on the peak data set between the two end points. Then I would run traps using a line between the two endpoint...

1 year ago | 0

| accepted

Answered
Convert Matrix to ArcGIS raster
Following on from KSSV in the comments... You can export the data to a netCDF file then import that in ArcGIS. To define the c...

2 years ago | 1

Answered
Sub-sampling the minimum number of points to accurately reproduce a curve
I had the same question as Michael, here is the best solution I have found. Line Simplification - File Exchange - MATLAB Centra...

3 years ago | 0

Answered
Save as xlswrite file in user specified path and user specified name
You didn't say anything about how yuor data is stored But something like this... writematrix(data,'FileName.xlsx','Sheet','use...

3 years ago | 0

Answered
How to calculate mean wind direction
I needed a solution that would ignore NAN values in the data. Converts the direction data into X & Y vector components, average...

3 years ago | 0