フィルターのクリア

MATLAB code for right handed circular polarization

11 ビュー (過去 30 日間)
Roman
Roman 2012 年 12 月 14 日
コメント済み: Image Analyst 2021 年 11 月 17 日
Hello, I need help to write simple code that preview right handed circular polarization, using the cos and sin fun. also in the plot must see the direction of the polarization (for example with arrows).
the expression of RHCP is : Acos(t)+Asint(t)
  2 件のコメント
Walter Roberson
Walter Roberson 2012 年 12 月 14 日
To check: is Acos(t) to mean arccosine of t, or is it to mean A multiplied by cosine of t ? Is Asint intended to mean A times sine (of something?) times (t applied to t) ??
Roman
Roman 2012 年 12 月 18 日
A*cos(t)+A*sin(t) A- is the amplitude of the sinus and cosine waves.

サインインしてコメントする。

回答 (3 件)

Image Analyst
Image Analyst 2012 年 12 月 14 日
You mean like this: ???
fontSize = 20;
A = 10; % Amplitude.
t = linspace(0, 2 * pi, 40);
signal = A .* cos(t) + A .* sin(t);
stem(t, signal, 'bo-', 'LineWidth', 2);
xlabel('t', 'FontSize', fontSize);
ylabel('signal', 'FontSize', fontSize);
title('RHCP', 'FontSize', fontSize);
grid on;
% Enlarge figure to full screen.
set(gcf, 'units','normalized','outerposition',[0 0 1 1]);
% Give a name to the title bar.
set(gcf,'name','Demo by ImageAnalyst','numbertitle','off')
  1 件のコメント
Walter Roberson
Walter Roberson 2012 年 12 月 14 日
A .* cos(t) + A .* sin(t) could be simplified to A .* (cos(t) + sin(t))

サインインしてコメントする。


Bjorn Gustavsson
Bjorn Gustavsson 2012 年 12 月 18 日
That it is possible to rewrite A*cos(t) + A*sin(t) to A*(cos(t)+sin(t)) clearly shows that that is a scalar quantity - such has by definition no polarization. Try instead with something that is a vector-valued function:
A*[cos(w*t-kz),-sin(w*t-k*z),0]

AbdulRehman Khan Abkhan
AbdulRehman Khan Abkhan 2021 年 11 月 16 日
A = 10; % Amplitude.
t = linspace(0, 2 * pi, 40);
signal = A .* cos(t) + A .* sin(t);
stem(t, signal, 'bo-', 'LineWidth', 2);
x('t');
y('signal');
title('RHCP');
grid on;
% Enlarge figure to full screen.
set(gcf, 'units','normalized','outerposition',[0 0 1 1]);
% Give a name to the title bar.
set(gcf,'name','Demo by ImageAnalyst','numbertitle','off')
  1 件のコメント
Image Analyst
Image Analyst 2021 年 11 月 17 日
How is your Answer different than mine?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeWaveform Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by