Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline smath_nud  
#1 Posted : 03 February 2017 21:22:41(UTC)
smath_nud

Rank: Newbie

Groups: Registered
Joined: 19/03/2016(UTC)
Posts: 8
Czech Republic
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.

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 03 February 2017 22:01:09(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
ZeroMatrix: like this

Zero Matrix.bmp
Offline smath_nud  
#3 Posted : 03 February 2017 22:17:16(UTC)
smath_nud

Rank: Newbie

Groups: Registered
Joined: 19/03/2016(UTC)
Posts: 8
Czech Republic
Location: czech republic

Originally Posted by: Jean Giraud Go to Quoted Post
ZeroMatrix: like this

Zero Matrix.bmp



But it is not. If I insert M(0) is length matrix 1, but I need length matrix 0

Offline alyles  
#4 Posted : 03 February 2017 22:40:58(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 276
United States

Was thanked: 91 time(s) in 57 post(s)
I don't believe SMath supports empty Matrices.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline alyles  
#5 Posted : 03 February 2017 22:47:50(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 276
United States

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.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline smath_nud  
#6 Posted : 04 February 2017 00:07:24(UTC)
smath_nud

Rank: Newbie

Groups: Registered
Joined: 19/03/2016(UTC)
Posts: 8
Czech Republic
Location: czech republic

You can send e-mail adress on you? I need help about SMath studio functions. Thank you.







Originally Posted by: arielyles Go to Quoted Post
Can you upload an example of what you're trying to accomplish?

We might be able to help implement it a different way.


Offline Jean Giraud  
#7 Posted : 04 February 2017 00:51:10(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: smath_amaters Go to Quoted Post
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=
Offline mkraska  
#8 Posted : 04 February 2017 03:29:55(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,984
Germany

Was thanked: 1124 time(s) in 721 post(s)
Example for declaration and use of an empty matrix:

2017-02-04 01_25_38.png

stack.sm (12kb) downloaded 27 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 04/02/2017(UTC)
Offline alyles  
#9 Posted : 04 February 2017 04:03:19(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 276
United States

Was thanked: 91 time(s) in 57 post(s)
Awesome. Thanks, Martin. I did not know that empty matrices were supported.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline Jean Giraud  
#10 Posted : 04 February 2017 06:07:50(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... a more elegant way to "skin the cat".

Vectorise Quick.bmp
Offline Jean Giraud  
#11 Posted : 04 February 2017 16:32:43(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... technical matrix

Zero Matrix Plus.bmp
Offline Jean Giraud  
#12 Posted : 04 February 2017 20:38:17(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: smath_amaters Go to Quoted Post
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).

Users browsing this topic
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.