logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

Create a zero vector of size 10 constant vector with value 5 of size 10 but the fifth value which is 10.Create a vector with values ranging from 10 to 49

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Assignment (100 pts):

  1. Import the numpy package under the name np.
  2. Import the pyplot package under the name plt.
  3. Create a zero vector of size 10
  4. Create an constant vector with value 5 of size 10 but the fifth value which is 10
  5. Create a vector with values ranging from 10 to 49
  6. Reverse a vector from question 4 (first element becomes last).
  7. Create a 4x4 matrix with values ranging from 0 to 10
  8. Create a 4x4 identity
  9. Create a 4x4x4 array with random
  10. Find the mean, median, sum of each column and row of the array from question 8
  11. Create a 5x5 matrix with value 10, diagonal values are 100, 200, 300, 400, and 500
  12. Create two matrices with random Multiply a 3x2 matrix by a 2x3 matrix.
  13. Create a 4x4 array by multiplying coordinate of each element
  14. Create two 4x4 random array A and B, then create an array with the equal element
  15. Stack array A and B from question 12 together both vertically and horizontally
  16. Evenly split the resulting arrays from A and B both vertically and horizontally
  17. Create a random array with shape (3, 5) and extract the second column and third row as separate arrays.
  18. Create a random 4x4 array and get the transpose and inverse of the matrix
  19. Calculate L1, L2 and L∞ norm distance given a coordinate matrix represented  as a numpy array  Plot the coordinate matrix.
  20. Read data from data.txt into a numpy array and calculate mean, std, var, cov and corr of two attributes.
(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Atharva PatilComputer science

533 Answers

Hire Me
expert
Chrisantus MakokhaComputer science

794 Answers

Hire Me
expert
AyooluwaEducation

526 Answers

Hire Me
expert
RIZWANAMathematics

593 Answers

Hire Me

Get Free Quote!

300 Experts Online