Join/Login

Business Software

Open Source Software

For Vendors

Blog

About

More

Articles

Create

SourceForge Podcast

Site Documentation

Subscribe to our Newsletter

Support Request

For Vendors Help Create Join Login

Business Software

Open Source Software

SourceForge Podcast

Resources

Articles

Case Studies

Blog

Menu

Help

Create

Join

Login

Home

Browse

OpenDAFF

Code

OpenDAFF Code

Directional Audio File Format

Brought to you by: fwefers, jstienen, laspoeck

Summary

Files

Reviews

Support

Code

Mailing Lists

OpenDAFF official website

Menu ▾ ▴

Browse Commits

Fork

Merge Requests 0

Forks 1

Branches

master

develop

[e9413f]: / matlab / Examples / dfDipoleMS.m  Maximize  Restore  History

Download this file

21 lines (15 with data), 608 Bytes

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

function [ freqs, mags, metadata ] = dfDipoleMS( alpha, beta, basepath )

% Dipole magnitude spectrum weighted by frequency

% Third-octave resolution

freqs = [20 25 31.5 40 50 63 80 100 125 160 ...

200 250 315 400 500 630 800 1000 1250 1600 ...

2000 3150 4000 5000 6300 8000 10000 12500 16000 20000];

channels = 1;

mags = zeros(channels, length(freqs));

metadata = [];

for c=1:channels

for f=1:length(freqs)

mags(c,f) = abs(sin(alpha*pi/180))*abs(sin(beta*pi/180))/f;

end

end

end

SourceForge

Create a Project

Open Source Software

Business Software

Top Downloaded Projects

Company

About

Team

SourceForge Headquarters
225 Broadway Suite 1600
San Diego, CA 92101
+1 (858) 422-6466

Resources

Support

Site Documentation

Site Status

SourceForge Reviews

© 2025 Slashdot Media. All Rights Reserved.

Terms Privacy Opt Out Advertise

×
Want the latest updates on software, tech news, and AI?

Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.

Submit