[Scilab-users] Define numerator and denominator of transfer function as variables in Xcos (DLR block)

2017-03-23 Thread Nikolay Strelkov
Dear all! I'm playing with simple digital filtering in Xcos 5.5.2. I have two filters - low-pass and high-pass, connected in series. Xcos does not have convolution block. So I write FIR transfer function manually from impulse respo

Re: [Scilab-users] Define numerator and denominator of transfer function as variables in Xcos (DLR block)

2017-04-01 Thread Nikolay Strelkov
Anybody? Dear Tim, do you have any idea? -- *With best regards,Ph.D., * *associate professor at MPEI ,IEEE member,maintainer of Mathieu functions toolbox for Scilab ,Nikolay Strelkov.* 2017-03-23 14:27 GMT+0

Re: [Scilab-users] Define numerator and denominator of transfer function as variables in Xcos (DLR block)

2017-04-01 Thread Tan Chin Luh
Hi, If I understand correctly, you would like to create the filter in Scilab, and directly access from Xcos? if so, u could use the syslin object to do so. 1. Create the syslin obj h1 = wfir("lp",2,[.2 0],"re",[0 0]) h2 = wfir("hp",3,[.1 0],"re",[0 0]) num1 = poly(h1,'z','coeff') d = ones(1,si

Re: [Scilab-users] Define numerator and denominator of transfer function as variables in Xcos (DLR block)

2017-04-01 Thread Nikolay Strelkov
Dear Tan Chin Luh! Thank you very much. It works as expected! The problem is solved. -- *With best regards,Ph.D., * *associate professor at MPEI ,IEEE member,maintainer of Mathieu functions toolbox for Scilab

Re: [Scilab-users] Define numerator and denominator of transfer function as variables in Xcos (DLR block)

2017-04-02 Thread Tan Chin Luh
you're welcome. anyway it should be a better way to construct the denominator, do let me know if you find a better way. :) rgds, CL On 2/4/2017 12:22 AM, Nikolay Strelkov wrote: Dear Tan Chin Luh! Thank you very much. It works as expected! The problem is solved. -- /With best regards, Ph.D

Re: [Scilab-users] Define numerator and denominator of transfer function as variables in Xcos (DLR block)

2017-04-02 Thread ol.bond
es/default.aspx>, IEEE member, maintainer of >>> Mathieu functions toolbox for Scilab >>> <http://atoms.scilab.org/toolboxes/Mathieu/>, Nikolay Strelkov.* >>> >> >> >> >> ___ >> users

Re: [Scilab-users] Define numerator and denominator of transfer function as variables in Xcos (DLR block)

2017-04-03 Thread Nikolay Strelkov
ave a question. How I can automate the aforementioned process >>>> programmatically? >>>> I tried to create numerator and denominator with poly function and as >>>> strings, but Xcos does not support these types in DLR settings. >>>> >>>> -- >&