필터 지우기
필터 지우기

To get 100 vectors using the previous vector

조회 수: 2 (최근 30일)
GOPI KRISHNA RAVIKUMAR
GOPI KRISHNA RAVIKUMAR 2020년 5월 7일
댓글: GOPI KRISHNA RAVIKUMAR 2020년 5월 7일
I have following matrices, F(9x9) Q1(9x1) I want to get Q2,Q3,Q4... such that Q2 = FxQ1 Q3 = FxQ2 Q4 = FxQ3 . . . Q100 = FxQ99

채택된 답변

Tommy
Tommy 2020년 5월 7일
Q = cell(100,1);
Q{1} = Q1;
for i = 2:numel(Q)
Q{i} = F*Q{i-1};
end
  댓글 수: 1
GOPI KRISHNA RAVIKUMAR
GOPI KRISHNA RAVIKUMAR 2020년 5월 7일
Thank you so much. For 100 variables its sufficient. For more variables like 10000 or so, its taking so much time. Can i get any other function?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Variables에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by