1 ビュー (過去 30 日間)
その他の回答 (1 件)
Walter Roberson 2021 年 9 月 11 日
In context, is T a scalar floating point value that is expected to be less than 1 ?
If so, then the code would be equivalent to
m = 1 : 24./T;
which would be equivalent to
m = 1 : floor(24./T);
which would be the list of integers, 1, 2, 3, 4, ... up to floor(24./T)
The reason for the code is not clear. In most cases in which something that looks like this might be used, the variable T would instead be named Fs or FS or fs (frequency of sampling) or else f (frequency). T tends to suggest a time, and it would be uncommon to want to do something until the inverse of a time.