How to get array with different time step in single variable

I want to make an arary of time in which 0 to 1 is in interval of 0.01 from 1-10 it is interval of 0.1 and from 1-100 it is interval f 10 and store all this into one variable t.
How do i do that ?

 채택된 답변

Ameer Hamza
Ameer Hamza 2020년 11월 11일
If there are just 3 intervals
t = [0:0.01 0.99 1:0.1:99.9 100:10:1000]

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

질문:

2020년 11월 11일

댓글:

2020년 11월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by