Please write a MATLAB function that will search a character vector and extract the first character vector that represent
Posted: Fri May 20, 2022 11:49 am
Please write a MATLAB function that will search a character vector and extract the first character vector that represent a positive integer. The sign characters and are not considered as part of the number. The input is the string and the output is the integer. If no number is found the function returns NaN ES • If the input string is 'abc 100 101 efg' and the output is 100. . If the input string is '123.45, the output is 123. no fractions if the input string is 'abode', the output is NaN Please submit them file Attach File Browse Local Files