Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline ianlh  
#1 Posted : 20 October 2019 15:20:14(UTC)
ianlh

Rank: Newbie

Groups: Registered
Joined: 18/12/2014(UTC)
Posts: 7

Hi All,

I am trying to work out the 'A' weighting values for sound levels, I have the calculation working, but I would like to simplify the total power levels, by either summation or a loop function. I know how to use summation, but cant get it to work on this.



acoustics 1.sm (18kb) downloaded 17 time(s).

Offline alyles  
#2 Posted : 20 October 2019 16:58:05(UTC)
alyles


Rank: Advanced Member

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

Was thanked: 70 time(s) in 45 post(s)
How's this? Using vectorize() function to apply operations to each element in a matrix.


acoustics_lyles.sm (15kb) downloaded 27 time(s).

Edited by user 20 October 2019 17:09:14(UTC)  | Reason: Not specified

Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline ianlh  
#3 Posted : 20 October 2019 19:43:21(UTC)
ianlh

Rank: Newbie

Groups: Registered
Joined: 18/12/2014(UTC)
Posts: 7

Hi Alyles,

That was exactly what i was looking for thank you.
Offline PompelmoTell  
#4 Posted : 20 October 2019 19:46:18(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 200
Man
Italy
Location: italy

Was thanked: 73 time(s) in 61 post(s)
alyles,
maybe there's an excess of vectorization

SMathStudio_Desktop_jvGmBSEmKG.png

sergio
thanks 2 users thanked PompelmoTell for this useful post.
on 20/10/2019(UTC),  on 20/10/2019(UTC)
Offline Jean Giraud  
#5 Posted : 21 October 2019 05:03:54(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 4,576
Canada

Was thanked: 775 time(s) in 615 post(s)
Originally Posted by: ianlh Go to Quoted Post
I am trying to work out the 'A' weighting values for sound levels

Acoustic.PNG
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.