MATLAB Answers

Problem with LFM chirp code

12 ビュー (過去 30 日間)
Zahid Saleem
Zahid Saleem 2019 年 6 月 9 日
回答済み: Shunichi Kusano 2019 年 6 月 10 日
I am trying to simulate a LFM radar by first generating a chirp signal using the built-in chirp function. My parameters are,
Starting Freq: 1GHz
Stop Freq: 2GHz
Rise time 10ms
Fall time 2ms
Here's the code for the rise part only.
close all;
clear all;
clc;
t = 0:1e-10:10e-3;
y = chirp(t,1e9,10e-2,2e9);
plot(t, y);
axis auto
But MATLAB freezes when I am trying to simulate, guess there are too many points inside the chirp signal( Or I am doing something horribly wrong). Is there any other proper way to simulate this ?
Any help will be greatly appreciated.

回答 (1 件)

Shunichi Kusano
Shunichi Kusano 2019 年 6 月 10 日
maybe
chirp(t,1e9,10e-3,2e9); % Rise time 10ms -> 10e-3
is correct. However, the array size is quite large even in this case. I think you need to reconsider your simulation condition.

タグ

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by