好的。我有一个简单的问题,尽管我对 Matlab 还是很陌生(自学)。所以我想要一个1x6
矩阵如下所示:
0
0
1
0
321, 12 <--- needs to be in one box in 1x6 matrices
4,30,17,19 <--- needs to be in one box in 1x6 matrices
有没有可能的方法来做到这一点,或者我只需将它们全部写在单独的框中,从而使其成为一个1x10
矩阵?
我的代码:
event_marker = 0;
event_count = 0;
block_number = 1;
date = [321,12] % (its corresponding variables = 321 and 12)
time = [4,30,17,19] % (its corresponding variable = 4 and 30 and 17 and 19)