Rank: 420 based on 163 downloads (last 30 days) and 10 files submitted
photo

Val Schmidt

E-mail
Company/University
University of New Hamsphire Center for Coastal and Ocean Mapping

Personal Profile:
Professional Interests:
signal processing, oceanography, ocean engineering, sonar, autonomous underwater vehicles, underwater navigation

 

Watch this Author's files

 

Files Posted by Val View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Apr 2012 gps_chksum A function to calculate the checksum for a NMEA/GPS string. Author: Val Schmidt gps, nmea 11 0
25 Apr 2012 dist2plane A function to calculate the distance from a point to a plane. Author: Val Schmidt mathematics, point, plane 6 3
24 Apr 2012 Screenshot circle_fit A function to fit a circle to a set of 2D points Author: Val Schmidt circle, fit, mathematics 13 2
24 Apr 2012 Screenshot raytrace A function to model acoustic refraction due to variations in sound speed. Author: Val Schmidt acoustics, ray tracing, refraction, ocean engineering, modeling, underwater acoustics 31 2
  • 5.0
5.0 | 2 ratings
24 Apr 2012 Screenshot planefit A function to fit a plane to a 3D point cloud. Author: Val Schmidt plane, fit 33 0
Comments and Ratings by Val View all
Updated File Comments Rating
10 May 2012 Google Earth Toolbox Various plotting/drawing functions that can be saved as KML output, and loaded in Google Earth Author: scott lee davis

10 May 2012 Google Earth Toolbox Various plotting/drawing functions that can be saved as KML output, and loaded in Google Earth Author: scott lee davis

This is a great tool and it seems very thoughtfully written. I do have a request:

When I create kmz files I get a zipped kml file but any images to display are not included. I would like the kmz files to consist of a zipped bundle of the kml and all its component parts (images to display for example) so that the result is completely self-contained. To me, that's the real advantage of kmz over kml - a single portable file without others to look after.

Thanks,

Val

10 May 2012 Google Earth Toolbox Various plotting/drawing functions that can be saved as KML output, and loaded in Google Earth Author: scott lee davis

10 May 2012 Google Earth Toolbox Various plotting/drawing functions that can be saved as KML output, and loaded in Google Earth Author: scott lee davis

25 Apr 2012 dist2plane A function to calculate the distance from a point to a plane. Author: Val Schmidt

Hi Jan,
The plane is defined by the equation:
z = C(1)x + C(2)y + C(3)

Try
x=1:10;
y=1:10;
[xx yy ] = meshgrid(x,y)
C = [1 2 3];
zz = C(1)*xx+C(2)*yy+C(3)
surf(xx,yy,zz,'edgecolor','none')

-Val

PS. You are right about the transposing. Thanks.

Comments and Ratings on Val's Files View all
Updated File Comment by Comments Rating
26 Apr 2012 dist2plane A function to calculate the distance from a point to a plane. Author: Val Schmidt Simon, Jan

I'm used to define a plane as "ax+by+cz+d=0", by the normal and one point or by three points. Can your formula define the XY-, YZ- and XZ-planes?
See http://en.wikipedia.org/wiki/Plane_%28geometry%29

25 Apr 2012 dist2plane A function to calculate the distance from a point to a plane. Author: Val Schmidt Schmidt, Val

Hi Jan,
The plane is defined by the equation:
z = C(1)x + C(2)y + C(3)

Try
x=1:10;
y=1:10;
[xx yy ] = meshgrid(x,y)
C = [1 2 3];
zz = C(1)*xx+C(2)*yy+C(3)
surf(xx,yy,zz,'edgecolor','none')

-Val

PS. You are right about the transposing. Thanks.

25 Apr 2012 dist2plane A function to calculate the distance from a point to a plane. Author: Val Schmidt Simon, Jan

I do not get how to define the plane:
"C: 3x1 plane coeficient vector i.e., zplane = C(1)*x+C(2)+C(3)". Which value of C defines the e.g. Z-plane?
In "sqrt(sum((po-pp)'.^2))" the transposing is inefficient. Better: "sqrt(sum((po-pp).^2, 2))"

25 Apr 2012 circle_fit A function to fit a circle to a set of 2D points Author: Val Schmidt Schmidt, Val

Ah! Thanks. Very helpful.

25 Apr 2012 circle_fit A function to fit a circle to a set of 2D points Author: Val Schmidt Eric

This seems equivalent to http://www.mathworks.com/matlabcentral/fileexchange/5557-circle-fit. Also, other algorithms are often more accurate when fitting data along only an arc (e.g., http://www.mathworks.com/matlabcentral/fileexchange/22643 ).

A good reference for fitting data to circles: "Least Squares Fitting of Circles" by N. Chernov and C. Lesort, Journal of Mathematical Imaging and Vision, Vol 23, 239-252 (2005). Nikolai Chernov has several good functions in the FEX for fitting to circles and ellipses.

Top Tags Applied by Val
mathematics, plane, acoustics, fit, binary
Files Tagged by Val View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Apr 2012 gps_chksum A function to calculate the checksum for a NMEA/GPS string. Author: Val Schmidt gps, nmea 11 0
25 Apr 2012 dist2plane A function to calculate the distance from a point to a plane. Author: Val Schmidt mathematics, point, plane 6 3
24 Apr 2012 Screenshot circle_fit A function to fit a circle to a set of 2D points Author: Val Schmidt circle, fit, mathematics 13 2
24 Apr 2012 Screenshot raytrace A function to model acoustic refraction due to variations in sound speed. Author: Val Schmidt acoustics, ray tracing, refraction, ocean engineering, modeling, underwater acoustics 31 2
  • 5.0
5.0 | 2 ratings
24 Apr 2012 Screenshot planefit A function to fit a plane to a 3D point cloud. Author: Val Schmidt plane, fit 33 0

Contact us