pyversion % Python information picked by matlab
x = linspace(0, 10, 1e5)';
tic
y1 = sin(x); % matlab built-in sine function
toc
tic
y_py = py.numpy.sin(x); % evaulate sine in python
y2 = double(y_py.data)';
toc
val_diff = y2 - y1;
disp(max(val_diff));
figure;
plot(x, y1, x, y2);
Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다
Trackback RSS : http://ppaktion.maru.net/rss/trackback/1037
Trackback ATOM : http://ppaktion.maru.net/atom/trackback/1037
당신의 의견을 작성해 주세요.