A matrix-vector problem

Alan Turing via Help-octave <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <[email protected]>
Good Evening. I am currently working on a project in which I have developed a
matrix M (12, 10), with each row's values representing force values in
Newtons, except the last row, which is filled with angle values (in deg).
Each column represents a specific angle and the force values I have there.
What I want to do now is write a script which tells me the max of each force
(essentially the maximum value of each row of matrix M), and at which angle
that maximum happens. In other words, I need to calculate which column has
the maximum value for each row (hence for each force), and finally the value
of the bottom row at which that max appears? I have already developed the
part which calculates the max of the forces, I only need to find the
corresponding angle. I hope my explanation is clear. Any help? Thanks in
advance.



--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.