Em Andamento

Vector algorithms - Point in Polygon

you have 2 files with coordinates and one matrix with polygon structure (each row is the polygon)

I need a program that:

1) Plot the polygons

2) The program should ask the user to click in an arbitrary polygon (use the MATLAB command ginput).

When this is done the program should compute in which polygon the user clicked.

This polygon should be marked in the figure and its number should be printed in the MATLAB command window. You should solve this by using the side function

N.B. NOT ALLOWED to use the MATLAB built-in command “inpolygon”.

3) Then, the program should compute the area of the chosen polygon and write this area in the command window

(NOT ALLOWED command “polyarea”).

4) Finally, the program should ask the user whether he/she wants to selects more polygons

Habilidades: Algoritmo, Criptografia, Engenharia, Matemática, Matlab and Mathematica

Ver mais: vector use, using algorithms, use algorithms, the algorithms, program algorithms, number algorithms, area point, algorithms using, polygon, matrix solve, polygon area, point polygon, solve matrix, function point polygon, function point, program write matrix, polygon point, plot coordinates, click coordinates, function compute, matlab command, matlab plot number, ask vector, insert using function vbnet, plot matlab

Acerca do Empregador:
( 0 comentários ) Sweden

ID do Projeto: #6805270

Premiar a:


Anlitad av arbetsgivaren

$40 USD em 5 dias
(25 Avaliações)