Borrar filtros
Borrar filtros

To get 100 vectors using the previous vector

2 visualizaciones (últimos 30 días)
GOPI KRISHNA RAVIKUMAR
GOPI KRISHNA RAVIKUMAR el 7 de Mayo de 2020
Comentada: GOPI KRISHNA RAVIKUMAR el 7 de Mayo de 2020
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

Respuesta aceptada

Tommy
Tommy el 7 de Mayo de 2020
Q = cell(100,1);
Q{1} = Q1;
for i = 2:numel(Q)
Q{i} = F*Q{i-1};
end
  1 comentario
GOPI KRISHNA RAVIKUMAR
GOPI KRISHNA RAVIKUMAR el 7 de Mayo de 2020
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?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Variables en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by