Re: Question on code usage

"Renato S. Yamane" <[email protected]> Thu, 5 May 2022 15:21:04 +0100
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CANJjkzsenqZqv3vBtJmc2szWeONFC2yF9TtB8MAc2xtXiqViyA@mail.gmail.com>
a = [3,1,1];
b = transpose(a);
c = norm(b);
d = svd(c)

Kind regards,
Renato


On Thu, 5 May 2022 at 14:18, John Ferreira <[email protected]>
wrote:

> Hello,
> I have legacy C software that was using an older version of Octave. I have
> updated to the newest version of octave and I am trying to fix deprecation
> related errors. Previous matrix code was:
> Matrix a(3,1,1);
> SVD norm(a.transpose());
> Return norm.singular_values();
>
> However it seems SVD is deprecated in 8.0.0
>
> What is the correct way to get the SVD singular values with the new
> version?
>
> Thank you,
> John F
>


----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help