Matlab coder alternative to lsqlin

1 回表示 (過去 30 日間)
Josh Betzer
Josh Betzer 2019 年 8 月 13 日
編集済み: Torsten 2019 年 8 月 13 日
Hi,
I need to run post processing code which is developed in MATLAB on C/C++ env at run-time.
the code which I got from engineer, contains the lsqlin function which AFAIK isn't supported by Matlab coder.
I can't use Matlab compiler to run this code, as it will be too slow execution.
Is there an altrernative to this function which will be compiled on Matlab coder?
the problem description is :
minimize ||Cx - d||^2 with both lower and upper bound on x (lb <= x <= ub)
where,
x is 73 x 1
C is 512 x 73
d is 512 x 1
I don't need all the other input parameters and options/constrains that lsqlin has to offer.
Thanks in advance,
Josh.

回答 (1 件)

Torsten
Torsten 2019 年 8 月 13 日
編集済み: Torsten 2019 年 8 月 13 日

カテゴリ

Help Center および File ExchangeLinear Least Squares についてさらに検索

タグ

製品


リリース

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by