Can't append two large matrices due to limit in Matlab

2 ビュー (過去 30 日間)
farzad
farzad 2020 年 7 月 9 日
コメント済み: Fangjun Jiang 2020 年 7 月 13 日
Hello
I need to append two time series to eachother, one after the other one, but one is 875520x1 double and the other is 787456x1 double.
so after trying to concatenate, I still have a 875520x1 double. is there a slution to this ?
my code :
resol is the time series resolution
if fn==1
motiontot=[];
for m=1:mu
if m==1
Ttot = t(:).';
Tsize=numel(Ttot);
else
Ttot= [Ttot, t(:).'+Ttot(Tsize)+resol];
Tsize=numel(Ttot);
end
end
else
for m=1:mu
if m==1
Ttot= [Ttot, t(:).'+Ttot(Tsize)+resol];
Tsize=numel(Ttot);
else
Ttot= [Ttot, t(:).'+Ttot(Tsize)+resol];
Tsize=numel(Ttot);
end
end
end
  6 件のコメント
farzad
farzad 2020 年 7 月 9 日
Yes it does. Only now that the data are big I have problem

サインインしてコメントする。

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2020 年 7 月 9 日
  3 件のコメント
Fangjun Jiang
Fangjun Jiang 2020 年 7 月 13 日
Follow the link, there are videos and examples.

サインインしてコメントする。

カテゴリ

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by