Microcomputer Principles Course Design Matrix Operations

Updated on educate 2024-05-08
12 answers
  1. Anonymous users2024-02-09

    I can't say a few words.

    Matrices are linear algebra in mathematics.

    an important point.

    It has a wide range of uses in computers.

    It is mainly used to represent two-dimensional arrays and accelerate the first calculation algorithm.

    Matrix operation: given the m n matrices a and b, you can define their sum a + b as a m n matrix, and so i, j terms are (a + b)[i, j] = a[i, j] +b[i, j]. Examples:

    Alternative addition can be seen in matrix addition.

    If we give a matrix a and a number c, we can define a scalar product ca, where (ca)[i, j] = ca[i, j]. For example.

    These two operations make m(m, n, r) a real linear space with a dimension of mn

    If the number of columns in one matrix is equal to the number of rows in the other, the product of the two matrices can be defined. If a is a m n matrix and b is n p matrix, they are the product of ab and ab is an m p matrix, where.

    ab)[i, j] = a[i, 1] *b[1, j] +a[i, 2] *b[2, j] +a[i, n] *b[n, j] for all i and j.

    For example. This multiplication has the following properties:

    ab)c = a(bc) for all k m matrices a, m n matrices b, and n p matrices c ("Associative Law").

    A + B) C = AC + BC for all M n matrices A and B and N K matrices C ("Distributive Property")。

    c(a + b) = ca + cb for all m n matrices a and b and k m matrices c ("Distributive Property")。

    It is important to note that the permutability is not necessarily true, i.e., there are matrices a and b that make ab ≠ ba.

    For other special multiplications, see Matrix Multiplication.

    To give you some references.

  2. Anonymous users2024-02-08

    Anonymous2010-04-27 Matrices are the main objects of linear algebra and matrix theory, an important tool for solving differential equations, and an important mathematical basis for computer graphics and computer game development. The main operations of matrices include number multiplication matrix, addition of two matrices, subtraction, multiplication and division, and the transposition of matrices. Mathematical Model or Problem Analysis:

    ma== [ aij]i=1,2,3...m,j=1,2,3...n.

    mb= =[brc]r=0,1,2...p,c=0,1,2...n。

  3. Anonymous users2024-02-07

    Because I haven't read the book on the principle of the microcomputer for more than two years, I have forgotten the specific statement, but I still remember the principle of this design, so I can only tell the landlord the principle, please understand.

    will data"1"Put in register r1

    will data"1"Put in register r2

    Put the data from R1 into R3

    Then divide the data of register r3 first, and divide 2 to take the remainder. If the remainder is zero, the R2 data plus 1 returns to the next cycle.

    If the remainder is not 0, put the data of R1 into R3, then divide the data of R3 by 3 to take the remainder, if the remainder is zero, the data of R2 plus 1 will return for the next cycle.

    If the remainder is not 0, put the data of R1 into R3, then divide the data of R3 by 5 to take the remainder, if the remainder is zero, add 1 to the data of R2 and return for the next cycle.

    If the remainder is not 0, the R1 data is output, and the R1 data is added to 1, and the R2 data is added to 1Go back and loop.

    When the data of r2 reaches 9999, the exit loop ends.

  4. Anonymous users2024-02-06

    It has been sent to the mailbox, please check

  5. Anonymous users2024-02-05

    Traffic light control system and electronic clock are best done.

    But without a specific experimental environment and diagram, it is impossible to do it here. This drawing is also too cumbersome.

  6. Anonymous users2024-02-04

    You're so generous, give 200 points for this kind of question! ~

  7. Anonymous users2024-02-03

    I'll give you a rough write, after all, you still have to do your own learning.

    Complete the key technology of the software"1, using the DOS 0AH function (string input number function (character display), etc., if you want to display color characters, you can also adjust it on this basis, including calling BIOS interrupt; 2. Use subroutines to repeatedly call to reduce the amount of program and increase program readability; 3. The rectangular box is drawn with ASCII characters to improve the efficiency of the program, of course, it can also be adjusted on the basis of the basis again, and the BIOS interrupt is drawn in drawing mode.

    The programming flowchart is only an approximate idea.

  8. Anonymous users2024-02-02

    I'm here to make up the molecules... The landlord is a good person. o(∩_o...Ha ha.

  9. Anonymous users2024-02-01

    Topic: String animation display.

    Design content requirements:

    1. Menu. Topics include: input strings; String animation display; Quit.

    2. Enter a string.

    When selected, you can enter a string. This is the string that is displayed when the animation is displayed.

    3. String animation display.

    The displayed string moves from scratch in a rectangular box, from right to left, and after it is completely removed from the box, it moves from right to left again until any key is pressed, stopping the string animation and returning to the main menu.

    4. Select Exit in the main menu, then the end program will return to DOS.

    Content requirements: The following are essential:

    1. Complete the key technology of the software (such as: what DOS function is used) 2. Program design flow chart, if necessary, there can be more than one, including the main program flow chart, the key part of the program flow.

  10. Anonymous users2024-01-31

    It's very troublesome, I don't have a protel at hand, I can't draw a picture, I simply tell you the idea, and I should understand the ...... more or less in class

    Use the 74161 asynchronous 4-bit counter to make an 8-bit counter, and then input the clock CLK, DA0832 uses pass-through mode, connected to the 8-bit counter, with the counting output voltage will gradually increase, if it is a sawtooth wave, count how much and then clear it, with the sawtooth wave, the sine wave and the square wave can be realized by the op amp using the analog method.

  11. Anonymous users2024-01-30

    The design of this course seems troublesome, and it is more difficult for novices to do.

    But there are similar templates, and most of them can be applied.

    If you change the template, it will be quite fast, and it can be done in three or five days.

  12. Anonymous users2024-01-29

    If you want to display colored characters, you can also adjust them on this basis, including calling BIOS interrupts; 2. Use subroutines to repeatedly call to reduce the amount of program and increase program readability; 3. The rectangular box is drawn with ASCII characters to improve the efficiency of the program.

Related questions
5 answers2024-05-08

;When debugging, you need to change the Chinese punctuation marks to English punctuation marks, otherwise the out of memory prompt message will appear. >>>More

3 answers2024-05-08

The main purpose of the mechanical principles course is to provide students with a more complete curriculum after completing the basic content of classroom teaching. >>>More

6 answers2024-05-08

Abstract:The spot machining industry is undergoing structural changes, the design and improvement of process tooling has become a necessary condition for the survival and development of enterprises, and the design and improvement of process tooling directly affects the quality and performance of valve rocker arm shaft bearing. As a traditional and dynamic industry, the diesel engine industry has made rapid progress in the past ten years, and in the new economic era, the diesel engine industry has shown a new development trend, which has made new changes to other quality and performance. >>>More

8 answers2024-05-08

In this design, the composition, performance, and working principle of the acousto-optic lighting controller are introduced, and the schematic diagram of each circuit and the parameter selection of components are given, and the power-saving effect is very obvious. During the day, when the light is good, no matter how loud the noise of passers-by, it will not be the light bulb that shines. When the light is dark at night, as long as the pickup of the circuit detects a broken sound, it will automatically light up for pedestrian lighting, and then automatically turn off after a few minutes, saving energy. >>>More