1:You need to generate an array A that has numbers 1 to 30 using Numpy function, and output array A. 2:Generate an array B that has numbers 5 to 34 using Numpy function, and output array B. 3:Reshape arrav A to a matrix AM as 5 rows and 6 columns, and output matrix AM 4:Reshape arrav B to a matrix BM as 6 rows and 5 columns, and output matrix BM. 5:Plot array A, array B using Matplotlib functions. 6:Computing matrix AM multiply matrix BM as matrix CM, output matrix CM. 7:Save matrix CM to the disk file as data.txt. 8:Using "for loop" to check each element in the matrix CM whether the element is larger than 100 or not, and output the result as True/False.
1:You need to generate an array A that has numbers 1 to 30 using Numpy function, and output array A. 2:Generate an array B that has numbers 5 to 34 using Numpy function, and output array B. 3:Reshape arrav A to a matrix AM as 5 rows and 6 columns, and output matrix AM 4:Reshape arrav B to a matrix BM as 6 rows and 5 columns, and output matrix BM. 5:Plot array A, array B using Matplotlib functions. 6:Computing matrix AM multiply matrix BM as matrix CM, output matrix CM. 7:Save matrix CM to the disk file as data.txt. 8:Using "for loop" to check each element in the matrix CM whether the element is larger than 100 or not, and output the result as True/False.
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section7.3: Declaring And Processing Two-dimensional Arrays
Problem 7E: (Electrical eng.) a. An engineer has constructed a two-dimensional array of real numbers with three...
Related questions
Question
task8,you may need to complete the whole co de
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 6 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage