VHDL code for reduce row i and column j for matrix

Status
Not open for further replies.

Adnan86

Full Member level 2
Joined
Apr 4, 2013
Messages
121
Helped
26
Reputation
52
Reaction score
26
Trophy points
1,308
Visit site
Activity points
2,153
Any one have any recommend for : VHDL code for reduce row i and column j for matrix and then use new matrix without them
8-O
Thanks
 

for get determinant of matrix use Expanding we need to delete som row and column so length of our matrix reduced .
so now i don't now how to start .. actually i'm beginner in VHDL so i need some help ...
 

Well, I first suggest reading a VHDL tutorial.
second - write some code.
third - come here when you're having problems.
 

Step 0: write down the required elementary operations in pseudo code. Suppose I give you a 5x5 matrix on a piece of paper, do you know how to calc the determinant? If not, start there.
 
Yes .. i now how to get determinant . actually i wrote some code for L U decomposition method but i shoud use divided operator that as you now use divided operator have some synthesis problem . so now i used Expanding method with 1/det [adjoint] and now for them as you now should delete some row and column ...
i don't want whole code but just idont now how delete them with code .. thanks
 

you dont delete anything in VHDL.
You're still not really making any sense. How about posting some code with the problems you're having.
 

I think that with "delete some row and column" he means the matrix reduction operation.

But you don't magically delete those. YOU (you know, you, the you that is you, not me) have to think of some clever way to do the bookkeeping that you do the matrix reduction.

So yes you know how to calculate det (at least I think so, you do say the right words so far ), but no you don't know how to write that in pseudo code. Why do I know that you don't know? Because if you did then you wouldn't be asking this. Do that first. Writing pseudo code is a lot easier than going straight to vhdl. Really. So the question is ... you have a memory array containing the matrix elements. Now you do a matrix reduction (delete row n, delete column m), great. So how do you do the bookkeeping to keep track of that fact? It's not super hard, but you'll have to think of something...
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…