Matlab - ruta mas corta dijkstra

 
Vista:

ruta mas corta dijkstra

Publicado por Emmanuel (1 intervención) el 27/08/2012 21:38:13
hola el algoritmo de dijkstra en MATLAB me pide los siguientes datos de entrada

Inputs:
% NODES should be an Nx3 or Nx4 matrix with the format [ID X Y] or [ID X Y Z]
% where ID is an integer, and X, Y, Z are cartesian position coordinates)
% SEGMENTS should be an Mx3 matrix with the format [ID N1 N2]
% where ID is an integer, and N1, N2 correspond to node IDs from NODES list
% such that there is an [undirected] edge/segment between node N1 and node N2
% SID should be an integer in the node ID list corresponding with the starting node
% FID (optional) should be an integer in the node ID list corresponding with the finish


la primer matriz yo la pude crear, pero es la segunda la que no he podido ser capaz de realizar.

espero sus comentarios.

Saludos!!!
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de JOSE JEREMIAS CABALLERO
Val: 6.975
Oro
Ha mantenido su posición en Matlab (en relación al último mes)
Gráfica de Matlab

ruta mas corta dijkstra

Publicado por JOSE JEREMIAS CABALLERO (5917 intervenciones) el 28/08/2012 03:56:55
dijikstra no es comando de maltab.
Si haz encontrado el programa de dijisktra hecho en el lenguaje de matlab, debe haber sido hecho por un usuario que conoce algo de matlab y conoce tambine la teoria de dijisktra.

Saludos.
JOSE JEREMIAS CABALLERO
Asesor de Proyectos con Matlab
programador en matlab
Servicios de programacion matlab
[email protected]

http://matlabcaballero.blogspot.com
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar