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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 0