Write a Program to compute the N-point DFT of a sequence. Don't use the inbuilt command. Write your own routine of DFT.
Each week a builder makes an order of doors from a supplier. The doors normally cost $60 each, but the supplier gives a 10% discount for any order of 30 or more doors. The orders for the first 8 weeks of the year are given in the vector: orders = [20 40 15 30 25 45 10 35]
1. A digital filter is described by
y(n) − 2.56y(n − 1) + 2.22y(n − 2) − 0.65y(n − 3) = x(n) + x(n − 3)
where x(n) is the input and y(n) is the output. Assume all zero initial conditions
(a) Generate the input signal x(n), which is a sinusoid of frequency 500 Hz sampled at 6 kHz.
(b) Compute the first four cycles of the output by directly implementing the above difference equation.
Plot the input and output on the same graph.
(c) Implement the above filter by using MATLAB “filter” function. Compare your results with part(b).
Comment on your result.
(d) Plot the impulse response of the filter by using MATLAB “impz” function. Comment on the results.
Please kindly help to answer the question BY THE CALCULATION IN OCTAVE CODING with all the detail solution required.
Please kindly do not give the simple and wrong answer as this is my third time to post the same question again because the first and the second one show me just the simple manual calculation without the OCTAVE coding solution.
I hope whoever answer this question, show the solution in OCTAVE CODING SOLUTION in detail.
Please do so or else do not give the wrong answer as it will make me waste my question quota to post the same question again.
I surely will vote you for like button and give the positive comment if you fulfill the requirements.
Thank you so much for your help and understanding.
(PLEASE READ FIRST ALL THE REQUIREMENTS BEFORE ANSWERING THE QUESTION)
(USE OCTAVE CODING SOLUTION ONLY TO SOLVE)
An electronic control system for an automobile engine is to be mounted on top of the fender inside the engine compartment of the automobile as illustrated in Figure 1. The control module electronically computes and controls the engine timing, fuel/air mixture, and so on, and completely controls the engine. To protect it from fatigue and breakage, it is desirable to isolate the module from the vibration induced in the car body by road and engine vibration, hence the module is mounted on an isolator.
Design the isolator (ie., pick cand k) if the mass of the module is 3.5 kg and the dominant vibration of the fender is approximated by yt) = (0.015) (cos 40t) m. Here it is desired to keep the displacement of the module less than 0.0045 m at all times. Once the design values for isolators are chosen calculate the magnitude of the force transmitted to the module through the isolator. (Please show all the OCTAVE CODING calculation in detail to get the solution)
Use OCTAVE to plot the graph and to obtain the optimum value of cand k base on the displacement transmissibility plot. (Please paste all OCTAVE CODING use in the calculation)
DO THE OCTAVE CODING SOLUTION:
Note PLEASE HELP ANSWER IN CODING SOLUTION (NOT MANUAL CALCULATION
1.) A function you have found with a minimum of 2 local points has a minimum Write a program that finds its points using the Stochastic Gradient Descent (SGD) algorithm. 2-dimensional (on the contours of the function) and 3-dimensional (the function's on the surface) with graphics and add the graph and codes to the homework.
2.) A self-found function that adds parasites and then eliminates them. Write a program, add the graphics and codes to the homework.