Question

In: Computer Science

Input data:     0.0975    0.9572    0.9595    0.7431    0.0462    0.4387    0.6463     0.2785    0.4854  &nbsp

Input data:

    0.0975    0.9572    0.9595    0.7431    0.0462    0.4387    0.6463

    0.2785    0.4854    0.6557    0.3922    0.0971    0.3816    0.7094

    0.5469    0.8003    0.0357    0.6555    0.8235    0.7655    0.7547

    0.9575    0.1419    0.8491    0.1712    0.6948    0.7952    0.2760

    0.9649    0.4218    0.9340    0.7060    0.3171    0.1869    0.6797

    0.1576    0.9157    0.6787    0.0318    0.9502    0.4898    0.6551

0.9706    0.7922    0.7577    0.2769    0.0344    0.4456    0.1626

Filter:

    0.1190    0.3404    0.7513

    0.4984    0.5853    0.2551

0.9597    0.2238    0.5060

Zero Padding: 1

Stride: 1

Calculate the convolution between the input and the filter.

Solutions

Expert Solution

I 've calculated this using Excel. It is easy in Excel. We will just right the formula in 1 cell, and the just copy & paste the formula in other cells to get the values for different positions.

I ll also show how the filter is convolving over the input data matrix.

Here is the final output:

Copy the formula from K2 and paste in other cells. Formula is shown here:

=(A1*$A$11)+(B1*$B$11)+(C1*$C$11)+(A2*$A$12)+(B2*$B$12)+(C2*$C$12)+(A3*$A$13)+(B3*$B$13)+(C3*$C$13)

Now see the filter convolving from left to right (in green):

and so on....

Now see the formula and the cells being used for calculation for K2 (i.e. row-0, column-0 for output)

For cell L2:

For cell M2:

Similarly for cell K4:

Here you can see the complete formula :



Related Solutions

Input price and input efficiency variances The budgeted and actual data for direct materials and labor...
Input price and input efficiency variances The budgeted and actual data for direct materials and labor are as follows: Budgeted Actual DM price $3 per pound $2.75 per pound DM quantity per unit 3 pounds per unit 4 pounds per unit DL price $10 per hour $13 per hour DL quantity per unit 0.2 hours per unit 0.3 hours per unit Actual sales volume is 100 units. Budgeted sales volume is 80 units. Compute the input price and input efficiency...
(data) broiler weight. cumulative feed input (Weight) 0.58 (Feed input) 1 (Weight) 1.1 (Feed input) 2...
(data) broiler weight. cumulative feed input (Weight) 0.58 (Feed input) 1 (Weight) 1.1 (Feed input) 2 (Weight) 1.2. (Feed input) 3 (Weight) 1.3 (Feed input) 4 (Weight)1.95 (Feed input) 5 (Weight)2.55 (Feed input) 6 1/ You want to know the relationship between feed intake and broiler weight. a/ Propose a parametric model of this relationship. Discuss the rationale for such a model. b/ Propose an estimation method for the parameters. Discuss briefly the properties of your estimator. c/ Estimate the...
Question 2: Input price and input efficiency variances The budgeted and actual data for direct materials...
Question 2: Input price and input efficiency variances The budgeted and actual data for direct materials and labor are as follows: Budgeted Actual DM price $1 per pound $0.75 per pound DM quantity per unit 5 pounds per unit 6 pounds per unit DL price $8 per hour $11 per hour DL quantity per unit 0.3 hours per unit 0.4 hours per unit Actual sales volume is 100 units. Budgeted sales volume is 80 units. a) Without computations, characterize the...
Implement an application that will read data from an input file, interpret the data, and generate...
Implement an application that will read data from an input file, interpret the data, and generate the output to the screen. - The application will have two classes, Rectangle and Lab2ADriver. - Name your Eclipse project, Lab2A. Implement the Rectangle class with the following description. Rectangle Data fields -numRows: int -numCols: int -filled: Boolean Store the number of rows in the Rectangle Store the number of columns in the Rectangle Will define either a filled or unfilled rectangle True =...
**write a java program infix to postfix**showing the expression tree*** I. Input All input data are...
**write a java program infix to postfix**showing the expression tree*** I. Input All input data are from a file "in.dat". The file contains a sequence of infix form expressions, one per line. The character '$' is an end mark. For example, the following file has four infix form expressions: 1 + 2 * 3 ^ ! ( 4 == 5 ) $ 3 * ( 6 - 4 * 5 + 1) + 2 ^ 2 ^ 3 $ 77...
List 5 or more ways data should be verified before allowing data to be input a...
List 5 or more ways data should be verified before allowing data to be input a system/application and describe why each is important.
Data Preprocessing is an important area in order to have quality input data. The four methods...
Data Preprocessing is an important area in order to have quality input data. The four methods discussed are data cleaning, data integration, data transformation and data reduction. a.Explain each of these methods in 2 or 3 paragraphs. (16 points) b.Suppose we were to develop software to implement each of these techniques. Discuss how easy or difficult it would be to develop software for each technique. Give this some thought and write a well-thought answer. Imagine that you had to write...
You are to create a program to request user input and store the data in an...
You are to create a program to request user input and store the data in an array of structures, and then display the data as requested. The data you are collecting refers to a set of images. The images are OCT images taken of the lining of the bladder. The data you provide will help diagnose the image as cancerous or not, but your code does not need to do that at the moment. First, Define a global structure that...
Task : Input this data into the SPSS and do the regression analysis as discussed today...
Task : Input this data into the SPSS and do the regression analysis as discussed today in the class. SN Food exp. Monthly income family size 1 3 8 5 2 4 12 7 3 5 15 5 4 2 5 6 5 5 4 4 6 3 8 9 7 4 13 10 8 7 9 6 9 5 11 7 10 6 12 8 11 4 7 8 12 8 8 12 13 4 9 11 14 2...
25. In Data Mining, ___ is a set of input variables used to predict an observation's...
25. In Data Mining, ___ is a set of input variables used to predict an observation's outcome class or continuous outcome value. 26. During each iteration of cluster analysis, the distances between new clusters are determined until any two clusters are sufficiently close to be linked using an algorithm called ___. 27. In the CRISP-DM process for data mining, which phase is the cleaning of the data so it is ready for modeling tools?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT