Spliting arrays into different arrays, and extract them as an array
1 回表示 (過去 30 日間)
古いコメントを表示
So, I have this code:
K=3:8
for N = 0:K:9 ; f_1(N+1:N+K)=R1(N+1:N+K).struct.fstat.f;end
A = yr(5:12);
B = f_1(1:8);
yr1_f = xcorr(A,B);
figure(1),plot(yr1_f)
----------------
and when I excute, it gives me an error that my output is 3 numbers and from curly brace or dot indexing it can't give out 3 outputs.
My question is how can I modify the f_1 function so I can get my outputs as three number.
Thank you.
1 件のコメント
SaiDileep Kola
2020 年 2 月 14 日
Coudn't figure out what you are trying to do, at the first go,
what are you trying to do with this N = 0:K:9 with K = 3:8 and what does it mean?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!