Borrar filtros
Borrar filtros

3 matrix in a loop

1 visualización (últimos 30 días)
sohaib atif
sohaib atif el 21 de Oct. de 2013
Comentada: sohaib atif el 21 de Oct. de 2013
hi any body help me if any body know i am new user of matlab. i have 3 matrix of 2*2. And i want to use the matrix one by one in a funtion one at a time just like loop. what i do i dnt know please help
  1 comentario
Azzi Abdelmalek
Azzi Abdelmalek el 21 de Oct. de 2013
What do you mean by use ?

Iniciar sesión para comentar.

Respuesta aceptada

Pourya Alinezhad
Pourya Alinezhad el 21 de Oct. de 2013
a=[1 2;4 6]
b=[5 6;8 7]
c=[5 8;8 5]
d={a b c};
for i=1:3
x=sin(cell2mat(d(i)))
end
  1 comentario
sohaib atif
sohaib atif el 21 de Oct. de 2013
Yes now its work.Pourya Alinezhad

Iniciar sesión para comentar.

Más respuestas (1)

sohaib atif
sohaib atif el 21 de Oct. de 2013
Yes now its work.Pourya Alinezhad
Azzi Abdelmalek i want to use 3 matrix in a loop one by one same like above thanks guys

Categorías

Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by