How can I go about calling another function and estimating a solution?

3 ビュー (過去 30 日間)
Siddart Fredrick
Siddart Fredrick 2019 年 2 月 5 日
編集済み: Stephan 2019 年 2 月 5 日
I have attached a matlab function, that returns a solution to a given system of equations with naive Gaussian elimination. I would like to write a script to call the function and estimate the solution for the following system of equations (attached image) with single presicion.
How can I go about doing that?
systemofeqns.png

採用された回答

Stephan
Stephan 2019 年 2 月 5 日
編集済み: Stephan 2019 年 2 月 5 日
Your new script:
A = [3, 123456789, 8, 5; 2, 13,...];
b = [246913625, ...];
[x, det] = single(nvgss(A,b))
Best regards
Stephan

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by