Community Profile

Val Schmidt


University of New Hamsphire Center for Coastal and Ocean Mapping

28 total contributions since 2009

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

Contact

Contributions in
View by

Submitted


Convert Unix Time (seconds since Jan 1 1970) to MATLAB Serial Time
Converts unix time to MATLAB serial time.

8 months ago | 4 downloads |

Thumbnail

Submitted


get_google_map
Retrieve a google map from the command line using the Static Google Maps API.

9 months ago | 93 downloads |

Thumbnail

Answered
Error in function unreproducible in dugger.
I found the error. In another toolbox there is a function called cc.m, which was colliding with the variable defined as cc. ...

1 year ago | 0

Question


Error in function unreproducible in dugger.
I'm stumped and need some help. I've the following simple statement: pp = ([cc(1) Iinf.Width-cc(2)]) - floor([Iinf.He...

1 year ago | 2 Answers | 0

2

answers

Submitted


raytrace
A function to model acoustic refraction due to variations in sound speed.

3 years ago | 52 downloads |

Thumbnail

Question


Creating a pointer that behaves like a matrix
I would like to create a new object that inherits from the handle class which will give me the functionality of a pointer but re...

3 years ago | 1 Answers | 0

1

answer

Question


something akin to singleton expansion in object array assignment
Hello, I'm writing to inquire if anyone knows if it's possible to create an object array and to assign a single field many valu...

3 years ago | 2 Answers | 0

2

answers

Submitted


gps_chksum
A function to calculate the checksum for a NMEA/GPS string.

4 years ago | 3 downloads |

Thumbnail

Responded


Re: Compiling mex function with link to external library - linking errors
Ok. Thanks for the warning.

4 years ago | 4914 views

Submitted


dist2plane
A function to calculate the distance from a point to a plane.

4 years ago | 10 downloads |

Thumbnail

Posted


Compiling mex function with link to external library - linking errors
Hello, I'm trying to compile a mex function that links to an external library. It is failing, being unable to find the "symbols...

4 years ago | 4914 views

Submitted


circle_fit
A function to fit a circle to a set of 2D points

4 years ago | 8 downloads |

Thumbnail

Submitted


planefit
A function to fit a plane to a 3D point cloud.

4 years ago | 25 downloads |

Thumbnail

Submitted


vector_plane_intersect
A function to fine the point where a line intersects a plane.

4 years ago | 1 downloads |

Thumbnail

Submitted


Calculate the harmonic mean sound speed vertically through a profile
Given a vertical sound speed profile, calculate the harmonic mean speed of sound to some depth.

4 years ago | 2 downloads |

Thumbnail

Responded


Re: Checking for an empty structure field in a mex routine
Aaah. Ok. Thanks James.

4 years ago | 3014 views

Posted


Checking for an empty structure field in a mex routine
Hello, I'm hoping someone can help me sort out a bug that's got me stumped. I'm writing a mex routine that takes a matlab struc...

4 years ago | 3014 views

Responded


Re: Usage of malloc/free in mex *.c files
Yes, I think you are correct. It's not something that has affected me yet because I've always only asked for case 2. I'll fix it...

5 years ago | 17117 views

Responded


Re: Usage of malloc/free in mex *.c files
James, I compiled some test code within a debugger and had a conversation with the author of the library and found that some of...

5 years ago | 17117 views

Responded


Re: Usage of malloc/free in mex *.c files
No, you are correct. I left out a few details but this may cause the very confusion I was hoping to avoid. This is the snippet...

5 years ago | 17117 views

Responded


Re: Usage of malloc/free in mex *.c files
Hmm. Ok. Well, let me send some code. I've tried to comment things well so it's understandable. I'm not doing anything tricky at...

5 years ago | 17117 views

Responded


Re: Usage of malloc/free in mex *.c files
I apologize, as this is a kind of old thread, but I've been trying to work though memory corruption issues in my own code and th...

5 years ago | 17117 views

Responded


Re: 3D inequality plot
What do you mean by an "inequality plot"? You could do this, but I don't know that it's what you want: arange = -10:10; brange...

5 years ago | 2839 views

Responded


Re: Mex files not working on Mac
A few things come to mind. First the obvious question, you've installed Xcode on this machine haven't you? You can open a ter...

5 years ago | 4742 views

Responded


Re: looping or vectroization
If I understand what you're asking, the "filter" function will do it automatically. From the documentation: ---------- If X is a...

5 years ago | 980 views

Responded


Re: scatter too slow
You might search for plot3k in the file exchange. It uses a much more sensible algorithm for scatter plots and I find that I can...

5 years ago | 6162 views

Posted


How to populate a structure in a mex file.
Hello, I'm writing a mex file that is reading a series of c structures from a binary file and attempting to insert each field i...

5 years ago | 2294 views

Submitted


struct_read/struct_write
Functions to ease the reading and writing of C data structures from and to binary files.

7 years ago | 4 downloads |

Thumbnail