Rank: 2587 based on 53 downloads (last 30 days) and 2 files submitted
photo

Jack Kohoutek

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Jack View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Mar 2012 Screenshot xyzplotter Transforms lists xin,yin,zin into matrices which can be used with the functions surf and mesh. Author: Jack Kohoutek image processing, mathematics, signal processing, data exploration, interpolation, modeling 24 3
  • 4.0
4.0 | 3 ratings
10 Sep 2009 Screenshot trisurfc Extends the MATLAB command trisurf() to put a contour plot below the mesh. Author: Jack Kohoutek mathematics, image processing, data exploration, physics, interpolation, 3d plotting 29 0
Comments and Ratings by Jack View all
Updated File Comments Rating
28 Feb 2014 ScreenCapture - get a screen-capture of a figure frame or component ScreenCapture gets a screen-capture of any Matlab GUI handle, or specified screen area rectangle Author: Yair Altman

Excellent, succeeds where getframe fails with complicated figures w/ subfigures and axes

16 Sep 2009 xyzplotter Transforms lists xin,yin,zin into matrices which can be used with the functions surf and mesh. Author: Jack Kohoutek

I have a version running that uses accumarray as mentioned instead of the triple loop to fill the grid. However, the current result is that it takes 50 ms longer (out of 500) to run on my 3000 element test dataset. If anyone has a huge dataset they would like to send me to try with it, say, 10^5 elements or so, I would like to do that first since the method is a little less straightforward to follow in the code. I don't know what the demand is for datasets this large either. My email can be found in my profile.

01 Sep 2009 Contours for triangular grids Generate smooth contours for functions defined on unstructured triangular grids Author: Darren Engwirda

Comments and Ratings on Jack's Files View all
Updated File Comment by Comments Rating
23 May 2012 xyzplotter Transforms lists xin,yin,zin into matrices which can be used with the functions surf and mesh. Author: Jack Kohoutek Slaven

25 Apr 2010 xyzplotter Transforms lists xin,yin,zin into matrices which can be used with the functions surf and mesh. Author: Jack Kohoutek Andrew

Thank you! What a silly omission by Matlab not to have a function that does this. Considering Matlab is mostly for people with data to crunch, and that x,y,z format is pretty common, it's hardly even spoken about in the help files. One overly involved method is to use meshgrid and griddata.m, and that crashes if you don't want a new x,y data grid.

16 Sep 2009 xyzplotter Transforms lists xin,yin,zin into matrices which can be used with the functions surf and mesh. Author: Jack Kohoutek Kohoutek, Jack

I have a version running that uses accumarray as mentioned instead of the triple loop to fill the grid. However, the current result is that it takes 50 ms longer (out of 500) to run on my 3000 element test dataset. If anyone has a huge dataset they would like to send me to try with it, say, 10^5 elements or so, I would like to do that first since the method is a little less straightforward to follow in the code. I don't know what the demand is for datasets this large either. My email can be found in my profile.

10 Sep 2009 xyzplotter Transforms lists xin,yin,zin into matrices which can be used with the functions surf and mesh. Author: Jack Kohoutek Stevens, Andrew

This code worked fine for the example that I tried. Here are a couple comments and questions that I think, if addressed, will improve the code and clarify its function.

1)The help section is in a non-standard format and an H1 line would be useful.
2) What does the code do with repeat x and y values?
3) What is the cell-size of the resulting grid? Answers to 2 and 3 should be added to the help section.
4) Efficiency: This code uses a triple loop to fill the grid. For large datasets, this will be extremely slow. An alternative approach is to use a combination of HISTC and ACCUMARRAY to populate the grid that will be fast.

-Andrew

Contact us