我要加入 登录
声振论坛 返回首页

robin908的个人空间 http://home.vibunion.com/?53147 [收藏] [复制] [分享] [RSS]

日志

Sampling

已有 434 次阅读2006-12-9 21:35

天气: 晴朗
心情: 高兴

function Sampling_arrayop(space,m)
%%%
%use array operations
%space is sampling rate
%m is the number of columns

%Created by Robin @ Saturday, December 09, 2006, HK

a=csvread('1.csv');             %read data from .csv file
b=a(1:space:end,1:m);           %sampling data
header='Test name & Date';      %Header name
colnames={'ch1','ch2'};         %Column name
filename='Testnamei.xls';       %File name
sheetname='Sheet1';             %Sheet name
xlswrite(b,header,colnames,filename,sheetname);   %xlswrite(b,header,colnames,filename,sheetname)

全部作者的其他最新日志

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 我要加入

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-24 22:52 , Processed in 0.034124 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部