[Solved] EECS3020 Homework 4- Shortest Path Routing

$25

File Name: EECS3020_Homework_4__Shortest_Path_Routing.zip
File Size: 395.64 KB

SKU: [Solved] EECS3020 Homework 4- Shortest Path Routing Category: Tag:
5/5 - (1 vote)

In this homework, you are asked to write a MATLAB program to find the distance matrix via the short path routing algorithm in the lecture notes. Please download the adjacency matrix of network A (network_A.mat that contains a 100100 matrix named A) on eLearn.

  1. The matrix A is the adjacency matrix of a network with 100 nodes.
    • A(i,j)=1, if there is an edge between nodes i and j.
    • A(i,j)=0, otherwise.
  2. Please use matrix A to find the final distance matrix d (Global View).
    • d(i,j) is the distance (of the shortest path) from node i to j.

Upload two files to eLearn.(Please code by matlab.)

  1. source code file named code.m
  2. result data file named result.mat that contains the following
    • distance matrix named d.

Other requirement:

  • You should use load to get inputdata.
  • Programs should have comments.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] EECS3020 Homework 4- Shortest Path Routing[Solved] EECS3020 Homework 4- Shortest Path Routing
$25