help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on code usage


From: Renato S. Yamane
Subject: Re: Question on code usage
Date: Thu, 5 May 2022 15:21:04 +0100

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 <john.ferreira1978@gmail.com> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]