在matlab中如何合并矩阵?
问题描述:
在matlab中如何合并矩阵?
比如:a=[0.420.410.670.780.690.32]b=[0.570.270.550.290.37 ]c=[0.36 0.480.480.35]d=[ 0.800.800.41]e=[0.640.28]f=0.51
如何放入一个矩阵中?
答
>> a(2,:)=[0,b] %a的第2行放 0,ba =0.42000.41000.67000.78000.69000.3200 00.57000.27000.55000.29000.3700>> a(3,:)=0 %第3行置0a =0.42000....