![]() |
calling all MatLab gurus...
I have an M by N matrix A and an M by 1 column vector b. I want to find the N by 1 column vector x which minimizes sum(abs(A*x-b)). What is the recommended way to do this in MatLab? |
Re: calling all MatLab gurus...
I'd use linprog and solve the same linear program as in the Python thread.
|
Re: calling all MatLab gurus...
1 Attachment(s)
Attached is an XLS spreadsheet with a 256-by-64 A matrix and a 256-by-1 b column vector. Using your favorite tool or language, find the 64-by-1 column vector x which minimizes sum(abs(A*x-b)). Show your work. Any takers? |
Re: calling all MatLab gurus...
1 Attachment(s)
Quote:
|
Re: calling all MatLab gurus...
Why?
|
Re: calling all MatLab gurus...
Why what?
|
Re: calling all MatLab gurus...
Quote:
See discussion in this thread: http://www.chiefdelphi.com/forums/sh...48&postcount=6 |
| All times are GMT -5. The time now is 04:51 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi