octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #56560] [octave forge] (control) Error by addi


From: Jonas Frischknecht
Subject: [Octave-bug-tracker] [bug #56560] [octave forge] (control) Error by addition of two frd objects
Date: Fri, 28 Jun 2019 06:40:12 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36

Follow-up Comment #12, bug #56560 (project octave):

Just realized a small error in the for-loop. The magnitude is already in abs.
So the for-loop should look like this:

for k=1:length(W)
   cmpl(k,1) = Mag(k)*(cosd(Pha(k))+1i*sind(Pha(k)));
end


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56560>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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