Question
Create a 6 by 8 array of random integer numbers ranged from -35 to 70, Find how many -ve numbers in the array? - Multiply
Create a 6 by 8 array of random integer numbers ranged from -35 to 70,
Find how many -ve numbers in the array?
- Multiply the array by -5
- Find the location of maximum and the minimum number in the array
List the contents of the array
Problem # 2
- Create a structure that consist of four fields, {array, max, min, sum}
File in these fields with :
o Array should contain a 3 by 5 random numbers that are greater than or equal 30.
o Max: contains the index and the value for the maximum number in the array
o Min: contains the index and the value for the maximum number in the array
o Sum: the summation of the items inside the array
Problem#1: Create a 6 by 8 array of random integer numbers ranged from -35 to 70, - Find how many -ve numbers in the array? - Multiply the array by -5 Find the location of maximum and the minimum number in the array List the contents of the array Problem # 2 - Create a structure that consist of four fields, {array, max, min, sum} - File in these fields with : o Array should contain a 3 by 5 random numbers that are greater than or equal 30. o Max: contains the index and the value for the maximum number in the array o Min: contains the index and the value for the maximum number in the array o Sum: the summation of the items inside the array
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Problem 1 MATHLAB CODE arr randi357068 count0 for i 16 for j18 if arrij ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started