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

3 次查看(过去 30 天)
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 个)

Community Treasure Hunt

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

Start Hunting!

Translated by