photo

M NAGA JAYANTH AVADHANI


Last seen: plus de 4 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Question


name value pairs with variable input arguments
write a function called name_value_pair that has a variable no of input arguments representing name value pairs.The function mu...

plus de 4 ans il y a | 6 réponses | 0

6

réponses

Réponse apportée
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'
This works perfectly. function distance = get_distance(city1,city2) [~,~,raw] = xlsread('Distances.xlsx'); row = raw(1,:); c...

plus de 4 ans il y a | 0