フィルターのクリア

Matlab Apppdesigner Constellation Diagram

2 ビュー (過去 30 日間)
Godswill Tabag
Godswill Tabag 2020 年 12 月 16 日
回答済み: Monisha Nalluru 2021 年 3 月 16 日
I recently started to use MATLAB's Appdesigner and I want to display a signal's constellation diagram on the Axes with a push of a button but I have no idea how.
Below is the code I used for 8-QAM and scatterplot doesn't seem to work.
Any help would be appreciated thanks.
% Button pushed function: QAMButton
function QAMButtonPushed(app, event)
m=8;
k=log2(m);
n=9e3;
nsamp=1;
x=randi((0:1),n,1);
xsym = bi2de(reshape(x,k,length(x)/k).','left-msb');
y=qammod(xsym,m);
switch app.ButtonGroup.SelectedObject.Text
case 'Waveform'
case 'Phasor'
case 'Constellation'
scatterplot(app.UIAxes,y)
end

回答 (1 件)

Monisha Nalluru
Monisha Nalluru 2021 年 3 月 16 日
This is already a known issue. scatterplot does not support passing of Axes or UIAxes object as an input.
Concerned people are already aware of it and it might be considered in the future releases of MATLAB.

カテゴリ

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

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by