help-octave
[Top][All Lists]
Advanced

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

Re: how can I plot an arbitrary function passed through a transfer funct


From: Doug Stewart
Subject: Re: how can I plot an arbitrary function passed through a transfer function?
Date: Wed, 3 Nov 2010 20:58:57 -0400

>On Wed, Nov 3, 2010 at 7:01 PM, Matthias Lang <address@hidden> wrote:
>
> On Tuesday, November 02, Doug Stewart wrote:
>> On Tue, Nov 2, 2010 at 11:35 AM, Matthias Lang <address@hidden> wrote:
>> > Hi,
>> >
>> > I can define a transfer function like this:
>> >
>> >  octave:13> L = tf([9.2404e-8, 7.9861e-1, 1.6049e6], [3.8307e-14, 
>> > 4.575e-7, 1.7223, 2.1612e6]);
>> >
>> > and then I can plot the step response like this:
>> >
>> >  octave:15> step(L)
>> >
>> > which is a good start.
>> >
>> > But what I really want to do is plot an arbitrary function (made up of
>> > a few steps and ramps) after it's passed through my transfer function.
>> >
>> > Can I do that in octave? A nudge in the right direction would be nice.
>> >
>> > Looking through the mailing list archives, I've found this:
>> >
>> >  
>> > https://www-old.cae.wisc.edu/pipermail/help-octave/2006-December/002440.html
>> >
>> > which seems promising. I'm new to octave, so this may be a dumb
>> > question.
>> >
>> > Matt
>>
>> Think of your system as a filter, then define the input to this filter
>> in any way you want.
>>
>> Use the filter.m function.
>>
>> help filter
>>
>> You can pad the front end and back end of your input signal with some zeros 
>> etc.
>>
>> HTH
>> Doug Stewart
>

> Hi,
>
> just wanted to send a little thank-you note. Your suggestion was
> exactly what I needed to hear, problem's solved.
>
> Matt
>
> --------------------

You are Welcome :-)
Doug Stewart



reply via email to

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