1. Engineering
  2. Computer Science
  3. give the following commands to create a matrix called f...

Question: give the following commands to create a matrix called f...

Question details

2. Give the following commands to create a matrix called F: randn (seed,123456789) F J randn (5,10); Note: MATLAB has functions min, max, mean(average), median and sum built-in. The questions that follow ask you to write your own code for these functions, as if they were not built-in. The idea here is for you to get some programming experience with MATLAB I. Compute the minimum and maximum value of each column and assign the results to the elements of a vector called min value and max value respectively. ll. Compute the mean of each column and assign the results to the elements of a vector called avg. Ill. Compute the standard deviation of each column and assign the results to the elements of a vector called s. with X the current element, M the mean and n the number E n-1 of elements In each case, you can check your results with the built-in functions

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution