Question: 1. Write a function in MATLAB to evaluate the geometric series N - 1 sem k=0 where k, m and N are integers. Evaluate this

 1. Write a function in MATLAB to evaluate the geometric series

1. Write a function in MATLAB to evaluate the geometric series N - 1 sem k=0 where k, m and N are integers. Evaluate this expression with different combinations of N and m. a. (3 marks) Describe the values of this formula as a function of N and m. b. (2 marks) Print and hand in the MATLAB function that you wrote to evaluate this series. c. (5 marks) By hand, draw vectors to visually represent this sum of complex numbers for the cases where (N, m) = (4,1), (4,2), (4,3), (4,4) and (4,8). Draw a vector for each term in the summation and connect them tip to tail. Some hints and built-in functionality that you may like to use: The V-1 is a built in variable. The number . exp Elementary exponential function - can handle arrays and com- plex arguments. abs Returns the magnitude of a complex number. zeros (m,n) Create an mxn matrix of O's. For an array use number of elements x 1. plot An endless number of ways to plot data - look at the MATLAB help. daspect([1 1 1]) Fix the axes aspect ratio so your plots have equal scale on the x, y axes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!