Code covered by the BSD License  

Highlights from
polysection

Be the first to rate this file! 15 Downloads (last 30 days) File Size: 79.62 KB File ID: #26338
image thumbnail

polysection

by Jeff Tuhtan

 

11 Jan 2010 (Updated 22 Feb 2010)

Create cross sections along waypoints based on a 3D grid interpolated from xyz scatter data.

| Watch this File

File Information
Description

This function carries out the following tasks:

1) Imports a set of xyz scatter data, interpolates them to a uniform mesh, and creates a contour map figure of the results.

2) Allows for the user to interactively select a series of waypoints by selecting them using 'getpts' on the figure.

3) Creates a series of evenly spaced cross sections perpendicular to the polyline created by the waypoints.

4) Exports the results as a 3-D graphic.

5) Exports the cross section xyz coordinates to Excel as 'CSData.xls', where each cross section has its own worksheet.

An example scatter data set 'Scatter.dat' has been included.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
11 Jan 2010

Updated description.

19 Feb 2010

-Added Excel export option

22 Feb 2010

-Adjusted 3-D visualization default settings
-Fixed user input error when asked to export to Excel

22 Feb 2010

-Changed Export bug

Tag Activity for this File
Tag Applied By Date/Time
cross section Jeff Tuhtan 11 Jan 2010 11:03:08
xsection Jeff Tuhtan 11 Jan 2010 11:03:08
mapping Jeff Tuhtan 11 Jan 2010 11:03:08
scatter Jeff Tuhtan 11 Jan 2010 11:03:08
3d cross section Jeff Tuhtan 11 Jan 2010 11:03:08
create cross section Jeff Tuhtan 11 Jan 2010 11:03:08
gridding Jeff Tuhtan 11 Jan 2010 11:03:08
create cross section bakti nusantara 21 Jul 2010 10:12:52

Contact us at files@mathworks.com