# circularly polarized signals using matlab audio

4 views (last 30 days)
sddfds sddfds on 16 Aug 2023
Edited: sddfds sddfds on 16 Aug 2023
hello i would like to ask how to play circularly polarized signals using matlab and simulink audio. thanks very much.
Mrutyunjaya Hiremath on 16 Aug 2023
Hi, To play a circularly polarized signal using MATLAB audio, you'd first need to clarify what you mean. Typically, circular polarization is a concept related to electromagnetic (EM) waves, particularly in antennas and transmission. When we talk about audio in MATLAB, we're usually discussing pressure waves in air that we perceive as sound. Give some examples or reference.

Mrutyunjaya Hiremath on 16 Aug 2023
However, I'll provide a general approach, and you can adjust as per your exact needs.
1. Generate the Signal: If you're thinking of a "circularly polarized" signal in terms of audio, it might be that you're considering two signals (one for each stereo channel, let's say) which are phase-shifted.
2. Play the Signal: MATLAB uses the audioplayer function to play audio.
Here's a simplistic interpretation:
fs = 44100; % Sample rate
t = 0:1/fs:2; % 2 seconds duration
f = 440; % Frequency, Hz (e.g., A4 note)
% Generate a sinusoidal signal (representing one polarization)
signal1 = sin(2 * pi * f * t);
% Generate a phase-shifted signal (90 degrees here for "quadrature")
signal2 = cos(2 * pi * f * t);
% Combine them for stereo playback (left and right channels)
stereoSignal = [signal1' signal2'];
% Create an audio player object and play the signal
player = audioplayer(stereoSignal, fs);
play(player);
In this example, signal1 can be thought of as vertically polarized, and signal2 as horizontally polarized. When they're combined, they create a phase difference similar to what might be seen in circular polarization.
Again, remember that this is a very rough analogy and not a true representation of circularly polarized EM waves. If you can provide more clarity on your requirements, I might be able to give more correct information.
sddfds sddfds on 16 Aug 2023
Edited: sddfds sddfds on 16 Aug 2023
hello some examples are chua, lorenz attractors, vortices, orbital angular momentum, and chaotic oscillators and attractors. please see this reference for more information. https://www.mathworks.com/help/phased/ug/polarized-fields.html?s_tid=srchtitle_site_search_2_polarized

### Categories

Find more on Measurements and Spatial Audio in Help Center and File Exchange

R2023a

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!