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'); ...
4년 초과 전 | 0
