Re: 請教DSP函數庫反矩陣用法~
|
||||
---|---|---|---|---|
新會員
|
感謝 typhoon 大的指教,已經能使用反矩陣的運算~
不過還得去驗證答案是否正確, 可能得經過一些換算,而且有負號的問題, 這些可能還得再仔細換算一番~ 再次感謝~
發表於: 2009/2/18 15:45
|
|||
|
Re: 請教DSP函數庫反矩陣用法~
|
||||
---|---|---|---|---|
新會員
|
感謝您的回覆~~
所謂的指標型態可以麻煩您稍微說明一下嗎?? 查了一些書後並無詳細說明~~ 麻煩指教了~~謝謝
發表於: 2009/2/15 15:58
|
|||
|
Re: 請教DSP函數庫反矩陣用法~
|
||||
---|---|---|---|---|
資深會員
|
沒用過,不清楚。
不過查了一下,MatrixInvert() 最後三個參數好像是指標形態。
發表於: 2009/2/13 18:59
|
|||
The Answer to Life, the Universe, and Everything.
|
||||
|
請教DSP函數庫反矩陣用法~
|
||||
---|---|---|---|---|
新會員
|
小弟目前使用30F 4011做各種矩陣的運算,
在使用反矩陣功能時遇到一些問題, 以下是擷取一段小弟寫的部份程式 float matrix3[2][2] = {10, 30, 20, 30}; float matrix4[2][2]; void MatrixDemo (void); // demo 1 int main(void) { MatrixInvert(2, &matrix4, &matrix3 ,2 ,2 ,2); } 用MPLAB SIM執行時會跳出disassembly listing,而且會一直執行,小弟在程式中並沒有寫入迴圈功能,想請教板上各位是不是小弟的程式有錯誤,因為對於反矩陣的使用方式還有點陌生,也有參考過DSP函數庫,也想請各位建議是否有對矩陣有進一步說明的文件或書籍讓小弟能更了解如何使用, 謝謝
發表於: 2009/2/13 10:38
|
|||
|