2021-01-28 11:55:47 +08:00
|
|
|
|
# Octave 常用函数
|
2020-03-19 15:09:06 +08:00
|
|
|
|
|
2021-01-28 11:55:47 +08:00
|
|
|
|
```m
|
2021-01-28 11:57:55 +08:00
|
|
|
|
A=bitshift(A,k) % 返回移位了 k 位的 A 的值。当 K>0 时左移,当 k<0 时右移。
|
2021-01-28 11:55:47 +08:00
|
|
|
|
seconds=time() % Return the current time as the number of seconds since the epoch.
|
|
|
|
|
t=now() % Return the current local date/time as a serial day number (see datenum).
|
2020-03-19 15:09:06 +08:00
|
|
|
|
```
|