What is L?
L = 1000; % Length of signal
Is that how many data points you collected? Is that the time interval data points were collected over? Where does the 1000 come from?
Thanks!

 채택된 답변

David Young
David Young 2015년 2월 17일

0 개 추천

It's the number of data points in the synthesised signal vector. It didn't come from anywhere - the person writing the documentation set it because she or he had to decide on some length for the signal.

댓글 수: 2

Andrew Reibold
Andrew Reibold 2015년 2월 17일
편집: Andrew Reibold 2015년 2월 17일
Ok, so if you had a sampling frequency of 1000pts/s, and you took data for 3 seconds, L = 1000 * 3 = 3000?
David Young
David Young 2015년 2월 17일
Yes, exactly.

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

추가 답변 (0개)

태그

질문:

2015년 2월 17일

댓글:

2015년 2월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by