科学网

 找回密码
  注册
install Matlab 2012b on ubuntu 12.04LTS 64 using system java
李林 2012-12-13 08:58
1. sudo apt-get install openjdk-6-jre 2. sudo ./install -javadir /usr/lib/jvm/java-6-openjdk-amd64/jre
个人分类: matlab|4726 次阅读|没有评论
read matlab binary file example
李林 2012-10-25 22:06
% write binary features and targets % usage: = readbin('training_pca.bin',5); function = readbin(FileName, nDim) fid = fopen(FileName, 'r'); %file flag flags = fread(fid,1,'int'); %get features size nFeatures =fread(fid,1,'int'); for i = 1: nDim Targets(i)=fread(fid,1,'int' ...
个人分类: matlab|2754 次阅读|没有评论
write matlab binary file example
李林 2012-10-25 22:04
% write binary features and targets % usage: writebin('training_pac.bin', Features, Targets) function = writebin(FileName, Features, Targets) = size(Features); %get features size nFeatures = col; %file flag flags = hex2dec('00010000'); fid = fopen(FileName, 'w'); fwrite(fi ...
个人分类: matlab|2178 次阅读|没有评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-28 05:24

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部