Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 44.883.515 Times

Calculation of distances from a given set of points to a set of segments 1.0

  Date Added: April 10, 2013  |  Visits: 522

Calculation of distances from a given set of points to a set of segments

Report Broken Link
Printer Friendly Version


Product Homepage
Download (33 downloads)



CSMV calculates distances from a given set of points to a set of linear segments SYNOPSIS: [squared_distances_to_segments I]=csmv(P,R,Q,to_plot) [squared_distances_to_segments I]=csmv(P,R,Q,...) INPUT P,R : arrays of coordinates of 2n segment endpoints (i.e., if there are n segments considered in p-dimensional Euclidean space, than P and R are n-by-p matrices); the sizes of P and R should coincide; p should be greater than or equal to unity. Q : an array of coordinates corresponding to the set of m points from which distances to the segments PR are calculated (Q should therefore be an m-by-p matrix). to_plot : (optional) graphical output. Any non-zero value would cause the graphical output. There will be no graphical output by default (if this parameter is not passed). OUTPUT squared_distances_to_segments : an n-by-m matrix whose j-th column contains n squared distance from the j-th point of Q to the segments PR. I : a vector of m elements representing indices of the segments PR which are the closest to points from Q.EXAMPLES (1-D, 2-D and 3-D cases with graphical outputs) 1) segments and points on the line PR_segments = [10,-10; -1,0; 2.3,1; 5,9; 10,10.2]; % note that PR do not have to be defined as directed segments! E.g. the third segment [2.3,1] in PR_segments is defined as an undirected segment. P = PR_segments(:,1); R = PR_segments(:,2); [squared_distances_to_segments I]=csmv(P,R,Q)OR [squared_distances_to_segments I]=csmv(P,R,Q,1); 2) plane P =[1 3; 4 6; 8 -1; 3 7] R = [0 -1; 2 2; 3 1; 0.1 2] Q =[4 1; 5 5; -1 3.5; -10 2; 10 -2] to_plot=1; [squared_distances_to_segments I]=csmv(P,R,Q,to_plot) 3) 3-D space P =[ 1 3 5; 4 6 9; 8 -1 -9; 3 7 0] R = [ 0 -1.0000 -1; 2.0000 2.0000 2; 3.0000 1.0000 4; 0.1000 2.0000 7] Q =[ 4.0000 1.0000 0; 5.0000 5.0000 8; -1.0000 3.5000 3; -10.0000 2.0000 -1; 10.0000 -2.0000 -1][squared_distances_to_segments I] = csmv(P,R,Q,1);

Requirements: No special requirements
Platforms: Matlab
Keyword: And 3d Are The Array Arrays As An Be An Be No Calculated Calculates Distances Default Defined Greater Mbyp Nbym Nbyp Nonzero Points Undirected
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


CALCULATION OF DISTANCES FROM A GIVEN SET OF POINTS TO A SET OF SEGMENTS RELATED
Network & Internet  -  rss2imap 0.75
rss2imap is a tool which gets RSS (RDF Site Summary) from web and delivers to the IMAP server as an e-mail message. rss2imap enables you to use IMAP supported MUA as a RSS reader and to use IMAP functionality effectively such as unread mail...
952.32 KB  
Networking  -  rss2imap 0.75
rss2imap is a tool which gets RSS (RDF Site Summary) from web and delivers to the IMAP server as an e-mail message. rss2imap enables you to use IMAP supported MUA as a RSS reader and to use IMAP functionality effectively such as unread mail...
 
Development Tools  -  Vectorized N-Body Equation 1.0
NBODYVECT - Fully vectorized n-body equationnbodyVect(x0,dx0,mus,t) integrates the n-body equations of motion using either a symplectic second order integrator, or any of the standard built-in or user supplied first order integrators. x0 - 3n x 1...
10 KB  
Icon Tools  -  The LeoDesk ThemePacket .0 2
About The LeoDesk ThemePacket - 10 original desktops, in 800x600 to 1920x1200 sizes - Over 65 original icons - The LeoDesk CandyBar iContainer file - New Boot and Login enhancements The LeoDesk ThemePacket includes an extensive collection of...
12.5 MB  
Networking Tools  -  Network Infrastructure Change Reporter 1. 1. 2007
Network infrastructure devices, such as switches, routers, firewalls, and others, are the backbone of any computer network. Without routine discovery and auditing of network devices your network infrastructure is subject to security risks and...
5.32 MB  
Modules  -  MailChimp Newsletter Widget 1.0
I wrote this plug-in mostly as an attempt to learn more about creating WordPress Plug-ins, but I think it is potentially useful for certain folks and so I am releasing it as an open-source, unsupported piece of software. I hope you enjoy it.The...
378.88 KB  
File Security  -  BladeBox Iron Edition 1.1
BladeBox creates virtual encrypted volumes, which are AES-ENCRYPTED files which can be mounted as if they were disk drives.Virtual Encrypted Volumes (VEV) are seen and considered by the operating system as if they were actual volumes (drives),...
2.2 MB  
Holiday  -  Winnie The Pooh Easter 2.0
Winnie The Pooh dressed as an Easter Bunny? See for yourself as Winnie stands among friends in this floating image screen saver. Run EXE file to install. Password protection.
1.21 MB  
Utilities  -  Compare Folders for Mac OS 3.4.1
A powerful utility designed to compare two folders and tell you which files and folders are the same, which are new, and which have been modified. This saves you the effort of reading through lists in the Finder and using Get Info to sort it all...
4 MB  
Application Add-Ins  -  Galaktika Express 14.0.0.62
Galaktika Express - a complete ERP system for mid-size enterprises in Russia, Ukraine, Belarus and Kazakhstan, based on a system configured Galaktika ERP - homepage Introduction and support in the Dnipropetrovsk region, as well as other regions of...
1.06 GB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  PHP Docbook Displayer for Scripts 1.0b
PHP Docbook Displayer provides XSL and CSS stylesheets, and PHP scripts, to generate easily and dynamically websites from Docbook files.It aims at simplifying to the max the web publication process : simply drop the docbook file under the site root !
102.4 KB  
Development Tools  -  WP Translate 1.0
This simple language translation plugin allows your users to quickly translate your webpages, through a widget on your blog.You have the option to select the title of the Widget, which will be displayed above the language translation form. Users...
10 KB  
Development Tools  -  save2word 1.0
A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.
10 KB