find value from matriks
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
i have matriks A with size (64,4), so the variables is part of A = [A1 A2 A3 A4] i want to process them, to find a value ei=A3-(0.5*A1) and fi = A4-(0.5*A2). so the output is 64 value of ei and 64 value of fi.
0 comentarios
Respuestas (2)
the cyclist
el 25 de Feb. de 2013
Editada: the cyclist
el 25 de Feb. de 2013
ei = A(:,3) - 0.5*A(:,1);
fi = A(:,4) - 0.5*A(:,2);
0 comentarios
Thorsten
el 25 de Feb. de 2013
A = rand(64, 4);
ei = A(:,3) - 0.5*A(:, 1);
fi = A(:,4) - 0.5*A(:, 2);
0 comentarios
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!