How to simplify this code?
2 次查看(过去 30 天)
显示 更早的评论
X16 = [X{3}',X{4}',X{5}',X{6}',X{7}',X{8}',X{9}',X{10}',X{11}',X{12}',X{13}',X{14}',X{15}',X{16}'];
% X32 = [X[3]' to X[32]'];
% X48 = [X{3}' to X[48}'];
% X64 = [X{3}' to X{64}'];
% X80 = [X{3}' to X{80}'];
% X96 = [X{3}' to X{96}'];
% X112 = [X{3}' to X{112}'];
% X128 = [X{3}' to X{128}'];
% X144 = [X{3}' to X{144}'];
% X160= [X{3}' to X{160}'];
Hi, lets say i have already defined my X{3} to X{160}, how do i define my X32, X48, X64, X80, X96, X112, X128, X144, and X160 without writing one by one?
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!