[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposed Example - Please Check
From: |
Lukas Reichlin |
Subject: |
Re: Proposed Example - Please Check |
Date: |
Tue, 16 Jun 2015 13:57:21 +0200 |
On 16.06.2015, at 12:30, Thomas D. Dean <address@hidden> wrote:
> On 06/15/15 23:10, Juan Pablo Carbajal wrote:
> Here is, I hope, an improved version.
>
> I plan to post one more iteration, on Wednesday (+-), and the final on Friday
> (+-).
>
> I intend this to be an example to include in the control package as an
> example.
>
> Tom Dean
> <preamp.m>
Hmm, your "show" function is way too complicated. You don't need any return
arguments, they are handled by evalin.
function show (str)
disp ([">> ", str]);
evalin ("caller", str);
endfunction
## don't show any results, but return num & den
show ("[num, den] = tfdata (Boeing707);")
## return and show results num & den
show ("[num, den] = tfdata (Boeing707)")
Lukas