find value from matriks
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
the cyclist
2013-2-25
编辑:the cyclist
2013-2-25
ei = A(:,3) - 0.5*A(:,1);
fi = A(:,4) - 0.5*A(:,2);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!