Silvana Castillo
Followers: 0 Following: 0
Feeds
已回答
Write a function called get_distance that accepts two character vector inputs representing the names of two cities. The function returns the distance between them as an output argument called distance. For example, the call get_distance('Seattle, WA'
function distance = get_distance(c1,c2); % reads excel file in just everything [~,~,everything] = xlsread('Distances.xlsx'); ...
Write a function called get_distance that accepts two character vector inputs representing the names of two cities. The function returns the distance between them as an output argument called distance. For example, the call get_distance('Seattle, WA'
function distance = get_distance(c1,c2); % reads excel file in just everything [~,~,everything] = xlsread('Distances.xlsx'); ...
3 years 前 | 0