Rank: 3098 based on 12 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
21 Sep 2009 Screenshot xyzplotter Transforms lists xin,yin,zin into matrices which can be used with the functions surf and mesh. Author: Jack Kohoutek modeling, data exploration, signal processing, mathematics, interpolation, image processing 9 3
  • 3.5
3.5 | 2 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 3 0
Comments and Ratings by Jack View all
Updated File Comments Rating
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
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

Top Tags Applied by Jack
3d plotting, data exploration, image processing, interpolation, mathematics
Files Tagged by Jack View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Sep 2009 Screenshot xyzplotter Transforms lists xin,yin,zin into matrices which can be used with the functions surf and mesh. Author: Jack Kohoutek modeling, data exploration, signal processing, mathematics, interpolation, image processing 9 3
  • 3.5
3.5 | 2 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 3 0

Contact us at files@mathworks.com