How to draw this 2 dimension figure (antenna feature) in Matlab?

조회 수: 1 (최근 30일)
Yihan Ma
Yihan Ma 2019년 2월 25일
댓글: Yihan Ma 2019년 2월 26일
In this paper “RF-DNA” Fingerprinting for Antenna Classification, Figure 2 is a 2-Dimension figure, but I am confused by this figure, based on the describe, the
data is the average value of many samples.
So I guess every colomn contain 51 points, so in this picture, a 51*3 data array (may be the data array in matlab like Data(51,3)) would be used.
My question is how to use only 51*3 array to draw the picture like this in Matlab.
Can anyone help me to explain the meaning of this figure, and how to draw in Matlab?
2019-02-25_101723.png
  댓글 수: 2
ANKUR KUMAR
ANKUR KUMAR 2019년 2월 25일
As per my understanding of your question, this contour plot you cam simply plot using the function contour. Please attach the mat file, so that we can help you a bit more effectively.
Yihan Ma
Yihan Ma 2019년 2월 25일
Please see my attachment about this .mat file.

댓글을 달려면 로그인하십시오.

채택된 답변

ANKUR KUMAR
ANKUR KUMAR 2019년 2월 25일
I have just plotted your data simply.
Check this out.
figure('Units', 'Normalized', 'OuterPosition', [0, 0.04, 0.32, 0.96]);
contourf(A,'linecolor','none')
colormap(jet)
colorbar
  댓글 수: 3
ANKUR KUMAR
ANKUR KUMAR 2019년 2월 25일
For plotting the figure you attached, it needs at least 4 colomns in your data, as for one band, you need at least two colors to see the transformation.
Try using imagesc to plot, but still you can not get the above image, as you need more columns to get that plot.
Yihan Ma
Yihan Ma 2019년 2월 25일
Thanks for your reply, and I find if I insert zero colomn between the data colomn, I would get the figure similar to that paper.
As I shown below.
Anyway, thanks for your help, without your code, I cannot get this figure result.
2019-02-25_142131.png

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Yihan Ma
Yihan Ma 2019년 2월 25일
Thanks for your reply, the attachment is the database, one is .txt format, one is .mat format. I don't have the original database, this is my simluation result based on the same method.

카테고리

Help CenterFile Exchange에서 Language Fundamentals에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by