Time vector for swept sine signal and so on...
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a Uni assignment for Matlab, please can you explain the part where '% define time vector' is listed.
I don't get what I am meant to time here everything above this I understand.
Beyond this I am confused.
Please help.
Thanks
댓글 수: 0
답변 (1개)
Kumar Pallav
2022년 3월 24일
Hi,
From my understanding, the time vector is an array which has a start time and end time, and is divided in regularly spaced increments.
For eg:
>> x=0:2:10
x =
0 2 4 6 8 10
Here, x is an array from 0 to 10 in intervals of 2.
Please refer this documentation for more on Vector creation, array subscripting, and for-loop iteration.
Hope it helps!
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!