Write a function using matlab syntax (use function name: sortof) that receives two inputs. the first input ( data_sorted ) is an array of data, where all data values are real, positive, non - zero numbers sorted from smallest to largest and there are no dupli cates . the second input ( data_unsorted ) is another array of data, where all data values are real, positive, non - zero numbers but stored in the array in any random order (not sorted). write an algorithm that inserts the unsorted data into the sorted data and outputs a single array ( alldata_sorted ) that contains all the data combined and so rted from smallest to largest. you may not use any built in functions for this algorithm (except you may use length ) .

Solved
Show answers

Ask an AI advisor a question