Title: Sending Matrix to Matlab · Issue #2 · codebndr/MatrixMath · GitHub
Open Graph Title: Sending Matrix to Matlab · Issue #2 · codebndr/MatrixMath
X Title: Sending Matrix to Matlab · Issue #2 · codebndr/MatrixMath
Description: Thank for this library, it is really helpful for me. However i have a concern, if i want to send the added value to Matlab, how do i go about it? Using the simple sample attached below as an example #include
Open Graph Description: Thank for this library, it is really helpful for me. However i have a concern, if i want to send the added value to Matlab, how do i go about it? Using the simple sample attached below as an exampl...
X Description: Thank for this library, it is really helpful for me. However i have a concern, if i want to send the added value to Matlab, how do i go about it? Using the simple sample attached below as an exampl...
Opengraph URL: https://github.com/codebndr/MatrixMath/issues/2
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sending Matrix to Matlab","articleBody":"Thank for this library, it is really helpful for me. \r\n\r\nHowever i have a concern, if i want to send the added value to Matlab, how do i go about it? Using the simple sample attached below as an example\r\n\r\n```\r\n#include \u003cMatrixMath.h\u003e\r\n#define M (4)\r\n#define N (3)\r\n//int M = 4;\r\n//int N = 3;\r\nfloat A[M][N];\r\nfloat C[M][N];\r\nfloat B[M][N] = { \r\n { 1, 1, 2}, \r\n { 1, 1, 2},\r\n { 1, 1, 2},\r\n { 1, 1, 2}\r\n };\r\n\r\nfloat s = 0;\r\nvoid setup()\r\n{\r\n\tSerial.begin(9600);\r\n\t}\r\nvoid loop()\r\n{\r\n // Initialize matrices\r\nA[0][0] = 2;\r\nA[0][1] = 2;\r\nA[0][2] = 2;\r\n\r\nA[1][0] = 2;\r\nA[1][1] = 2;\r\nA[1][2] = 2;\r\n\r\nA[2][0] = 2;\r\nA[2][1] = 2;\r\nA[2][2] = 2;\r\n\r\nA[3][0] = 2;\r\nA[3][1] = 2;\r\nA[3][2] = 2;\r\n\r\n for (int i = 0; i \u003c M; i++)\r\n {\r\n// v[i] = i + 1; // vector of sequential numbers\r\n for (int j = 0; j \u003c N; j++)\r\n {\r\ns = A[i][j];\r\n\r\n }\r\n }\r\n\r\n\r\n Matrix.Add((float*) A, (float*) B, N, N, (float*) C);\r\n Serial.println(\"\\nC = A+B (addition in-place)\");\r\n Matrix.Print((float*)C, N, N, \"C\");\r\n Matrix.Print((float*)B, N, N, \"B\");\r\n\r\n}\r\n```\r\nThank you","author":{"url":"https://github.com/Gbouna","@type":"Person","name":"Gbouna"},"datePublished":"2020-06-25T05:04:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/MatrixMath/issues/2"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:65bf8c8b-def3-2e34-cf10-2efcf0f4de53 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABF8:768D:3DD16B:550553:69810FEF |
| html-safe-nonce | eb0f341f66259e91a38dd63d63f73f2990078d0420542fb0a44984cab60eca63 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkY4Ojc2OEQ6M0REMTZCOjU1MDU1Mzo2OTgxMEZFRiIsInZpc2l0b3JfaWQiOiI0MTQ4ODI0MzEzODk5ODQ3NjYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d2f0c5211e4118476dc36db5539dcdbf87693fb379ce8c641ba3778add9781ba |
| hovercard-subject-tag | issue:645154931 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codebndr/MatrixMath/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/72e488b6d2e40c72f4a935a6e69807e7099442be8f4b729c3f7528ccda56a12c/codebndr/MatrixMath/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/72e488b6d2e40c72f4a935a6e69807e7099442be8f4b729c3f7528ccda56a12c/codebndr/MatrixMath/issues/2 |
| og:image:alt | Thank for this library, it is really helpful for me. However i have a concern, if i want to send the added value to Matlab, how do i go about it? Using the simple sample attached below as an exampl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Gbouna |
| hostname | github.com |
| expected-hostname | github.com |
| None | 39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1 |
| turbo-cache-control | no-preview |
| go-import | github.com/codebndr/MatrixMath git https://github.com/codebndr/MatrixMath.git |
| octolytics-dimension-user_id | 1754900 |
| octolytics-dimension-user_login | codebndr |
| octolytics-dimension-repository_id | 32738751 |
| octolytics-dimension-repository_nwo | codebndr/MatrixMath |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 32738751 |
| octolytics-dimension-repository_network_root_nwo | codebndr/MatrixMath |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d5b34a4e4898b066c629879feb4b184bc471d6a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width