Not applicable
Oct 14, 2015
04:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 14, 2015
04:27 AM
Hi,
I want to implement a kalman filter on a project with a XMC4500. I just want to know if it's possible to use GSL (GNU Scientific Library) matrix functions or if I need to make all the matrix operations "by hand".
If it's possible, how can I install the libraries on the DAVE/XMC?
Thanks in advance
I want to implement a kalman filter on a project with a XMC4500. I just want to know if it's possible to use GSL (GNU Scientific Library) matrix functions or if I need to make all the matrix operations "by hand".
If it's possible, how can I install the libraries on the DAVE/XMC?
Thanks in advance
- Tags:
- IFX
9 Replies
Oct 14, 2015
07:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 14, 2015
07:41 PM
Sorry, I am not very sure on this.
Not applicable
Oct 26, 2015
08:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 26, 2015
08:53 AM
And does anyone ever tried to use some matrix library?
Oct 26, 2015
10:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 26, 2015
10:07 AM
I made my own library, actually in order to implement a Kalman Filter.
May I ask you what is the purpose of the Kalman Filter?
May I ask you what is the purpose of the Kalman Filter?
Not applicable
Oct 26, 2015
10:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 26, 2015
10:21 AM
It's to estimate the charge of a battery. I'm need to know if I'll need to make also my own library or if I can get something already done...
Attachments are accessible only for community members.
Nov 09, 2015
09:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 09, 2015
09:40 AM
Not applicable
Nov 09, 2015
11:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 09, 2015
11:09 AM
Thank you very much for sharing that!! I'll try to use it and see what I can get out of it 😄
Just one simple first question: the pointer *d for the matrix init data must be an array or is the value for each element of the matrix?
Just one simple first question: the pointer *d for the matrix init data must be an array or is the value for each element of the matrix?
Nov 09, 2015
11:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 09, 2015
11:30 AM
It is an array.
Note that it is not a multidimensional array, so if you want to init a matrix 3x3 matrix A you sould do it like this:
matrix A;
matrix_data *A_data[3*3] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
matrix_init(&A, (matrix_data *) &A_data, 3, 3);
Note that it is not a multidimensional array, so if you want to init a matrix 3x3 matrix A you sould do it like this:
matrix A;
matrix_data *A_data[3*3] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
matrix_init(&A, (matrix_data *) &A_data, 3, 3);
Not applicable
Nov 09, 2015
11:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 09, 2015
11:41 AM
Thanks very much once again. That's right what I needed. Let's see now if this works like a maltab script I have here.
Nov 09, 2015
02:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 09, 2015
02:12 PM
It should work, I also prototyped the KF first in Matlab and then implemented it in the microcontroller.