Rank: Newbie
Groups: Registered
Joined: 19/03/2016(UTC) Posts: 8 Location: czech republic
|
Hello,
I writing work on High School on topic IIR filtres and I need to create matrix of order 0.
In matlab: p_0_NDP = [] p_0 = Omega_n * p_0_NDP;
In SMath studio?
x:#clean# - does not work
Thank you for help.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
ZeroMatrix: like this
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 19/03/2016(UTC) Posts: 8 Location: czech republic
|
Originally Posted by: Jean Giraud ZeroMatrix: like this But it is not. If I insert M(0) is length matrix 1, but I need length matrix 0
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 277 Was thanked: 91 time(s) in 57 post(s)
|
I don't believe SMath supports empty Matrices. |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 277 Was thanked: 91 time(s) in 57 post(s)
|
Can you upload an example of what you're trying to accomplish?
We might be able to help implement it a different way. |
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 19/03/2016(UTC) Posts: 8 Location: czech republic
|
You can send e-mail adress on you? I need help about SMath studio functions. Thank you. Originally Posted by: arielyles Can you upload an example of what you're trying to accomplish?
We might be able to help implement it a different way.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: smath_amaters But it is not. A matrix of order zero is a "zero matrix" If you want it rectangular from the fx menu 'Ones(3,5)' ,,,, then of any value: *1.23456789=
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1127 time(s) in 723 post(s)
|
Example for declaration and use of an empty matrix: stack.sm (12kb) downloaded 27 time(s). |
|
1 user thanked mkraska for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 277 Was thanked: 91 time(s) in 57 post(s)
|
Awesome. Thanks, Martin. I did not know that empty matrices were supported. |
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
... a more elegant way to "skin the cat".
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
... technical matrix
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: smath_amaters I need to create matrix of order 0 At this point, you know how to create a "zeromatrix". Visit "Samples => PseudoInverse" few days ago, This type of matrix: you fill-in manually. ===================================================== The other style matrices construct by themselves from their governing algorithm. Download the attached work sheet. I may be wrong but I would think your IIR filter is one of this type matrix that constructs around the IIR algorithm. Jean Spline l_p_c.sm (146kb) downloaded 30 time(s).
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.