matlab1分钟数据转5分钟,matlab – 关于分钟的格式化时间(min.sec)
您可以使用xtickformat指定x标签的所需格式,如下所示:% generate a random signal (in seconds)t = 0:5:15*60;y = rand(size(t));plot(seconds(t),y) % plot your signal, making it explicit that the t is expressed in secondsxtick...