double
int
uint
time: double = int < uint8
较为神奇。
clear
clc time=clock; a=zeros(,);
for i=:
a(i)=;
end fprintf('time=%f',etime(clock,time));
1s 1s 1.5s
2023-10-08 10:38:52
double
int
uint
time: double = int < uint8
较为神奇。
clear
clc time=clock; a=zeros(,);
for i=:
a(i)=;
end fprintf('time=%f',etime(clock,time));
1s 1s 1.5s