[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57712] [octave forge] (control) pzmap (sys1,
From: |
Doug Stewart |
Subject: |
[Octave-bug-tracker] [bug #57712] [octave forge] (control) pzmap (sys1, sys2) raises error on isempty (zer{:}) |
Date: |
Thu, 6 Feb 2020 08:36:24 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 |
Follow-up Comment #9, bug #57712 (project octave):
If we replace these 2 lines :
pol_args = horzcat (cellfun (@horzcat, pol_re, pol_im, sty_pol,
"uniformoutput", false){:});
zer_args = horzcat ( cellfun (@horzcat, zer_re, zer_im, sty_zer,
"uniformoutput", false){:});
With the following code:
pol_args=horzcat ( pol_re(1), pol_im(1), sty_pol{1});
for k=2:numel(pol)
pol_args = [pol_args horzcat(pol_re(k), pol_im(k), sty_pol{k})];
endfor
zer_args=horzcat ( zer_re(1), zer_im(1), sty_zer{1});
for k=2:numel(zer)
zer_args = [zer_args horzcat(zer_re(k), zer_im(k), sty_zer{k})];
endfor
Then it works. But now the legend is all wrong.
I am working on the legend problem now.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57712>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57712] [octave forge] (control) pzmap (sys1, sys2) raises error on isempty (zer{:}), Doug Stewart, 2020/02/05
- [Octave-bug-tracker] [bug #57712] [octave forge] (control) pzmap (sys1, sys2) raises error on isempty (zer{:}), Mike Miller, 2020/02/05
- [Octave-bug-tracker] [bug #57712] [octave forge] (control) pzmap (sys1, sys2) raises error on isempty (zer{:}),
Doug Stewart <=
- [Octave-bug-tracker] [bug #57712] [octave forge] (control) pzmap (sys1, sys2) raises error on isempty (zer{:}), Mike Miller, 2020/02/06
- [Octave-bug-tracker] [bug #57712] [octave forge] (control) pzmap (sys1, sys2) raises error on isempty (zer{:}), Doug Stewart, 2020/02/06
- [Octave-bug-tracker] [bug #57712] [octave forge] (control) pzmap (sys1, sys2) raises error on isempty (zer{:}), Doug Stewart, 2020/02/06
- [Octave-bug-tracker] [bug #57712] [octave forge] (control) pzmap (sys1, sys2) raises error on isempty (zer{:}), Mike Miller, 2020/02/08