Zooming a densed signal

조회 수: 4 (최근 30일)
Reji G
Reji G 2022년 7월 27일
댓글: Reji G 2022년 7월 28일
I wanted to generate a very high frequency(65MHz) signal as shown. When any part of the signal is zoomed out, it should have sufficient sinusoidal components as I drawn downwards.
  댓글 수: 2
Image Analyst
Image Analyst 2022년 7월 27일
OK, have fun. Thanks for the announcement. Now we know what you are going to do, or wanted to do.
If you actually have any questions, then attach your data and code to read it in with the paperclip icon after you read this:
Reji G
Reji G 2022년 7월 28일
Here's my code. But when I zoom it, It just a plane line. But I need multiple sinusoids inside. How do I do that? You can do any chage to get the requirement.
Fs = 10^7;
dt = 1/Fs;
one_signal_period = 0.01;
t=(0:dt:one_signal_period-dt);
a= 5*exp(-t/0.0007);
a(1) = 0;
b=exp(-t/0.0007);
b=flip(b);
c = a+b;
plot(t,c);

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

답변 (1개)

GandaBerunda
GandaBerunda 2022년 7월 27일
Hi Reji,
Depends on how much you want to zoom out. Two things which come on the top of my head are using the zoom out function in the tools section of the plot window and the second would be setting the xlimits to a large value.
Hope it helps

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by