Ahmed Saleh
Followers: 0 Following: 0
Feeds
已回答
Matlab Text file I/o
function charnum = char_counter(fname,character) if ~ischar(fname) || character <32 || character >126 charnum=-1; ret...
Matlab Text file I/o
function charnum = char_counter(fname,character) if ~ischar(fname) || character <32 || character >126 charnum=-1; ret...
3 years 前 | 0
已回答
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(city1,city2) [~,~,distances] = xlsread('Distances.xlsx'); num1=0; num2=0; s=size(distances)...
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(city1,city2) [~,~,distances] = xlsread('Distances.xlsx'); num1=0; num2=0; s=size(distances)...
3 years 前 | 0
已回答
Valid_date function
function valid = valid_date(year,month,day) y= year; m=month; d=day; days_1=[31 28 31 30 31 30 31 31 30 31 30 31]; if (fix(...
Valid_date function
function valid = valid_date(year,month,day) y= year; m=month; d=day; days_1=[31 28 31 30 31 30 31 31 30 31 30 31]; if (fix(...
3 years 前 | 0