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

4 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

Stephan
Stephan am 5 Feb. 2019
Bearbeitet: Stephan am 5 Feb. 2019
Your new script:
A = [3, 123456789, 8, 5; 2, 13,...];
b = [246913625, ...];
[x, det] = single(nvgss(A,b))
Best regards
Stephan

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by