# I don't get this matrix calculation from an ANN book

## Recommended Posts

johnnyBravo    100
Hi im reading "C++ Neural Networks and Fuzzy Logic by Valluru B. Rao", anyway in one section, i don't get how they are getting this answer for the product of the matrix; ...from the book
Quote:
 First, we notice that the binary to bipolar mapping of A = (1, 0, 1, 0) gives the vector (1, –1, 1, –1). Then we take the transpose, and multiply, the way matrices are multiplied, and we see the following:
     1  [1   -1   1   -1]       1   -1   1   -1
1                     =   -1    1  -1    1
1                          1   -1   1   -1
1                         -1    1  -1    1


to me it looks like the answer should be: 1 -1 1 -1 1 -1 1 -1 1 -1 1 -1 1 -1 1 -1 I don't get it. Whats going on? Thanks

##### Share on other sites
DeepButi    140
The result is OK, but there is a mistake in the transpose (probably a typo). It should be
     1  [1   -1   1   -1]      1   -1   1   -1    -1                     =   -1    1  -1    1     1                          1   -1   1   -1    -1                         -1    1  -1    1

Hope it helps

##### Share on other sites
johnnyBravo    100
ohhh, thanks
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.7026479840278625, "perplexity": 371.21509002033406}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2017-39/segments/1505818687484.46/warc/CC-MAIN-20170920213425-20170920233425-00516.warc.gz"}