vector subtraction
조회 수: 6 (최근 30일)
이전 댓글 표시
z=[1,2,3,5,6,7,8,9,0,12,12,3,4,1,2,4,5]; y=[1,2,3,4];
i want to subtract row of z from the every element of y. can i do it without loops.
댓글 수: 1
Sean de Wolski
2011년 10월 11일
What is different about this and your duplicate post here:
http://www.mathworks.com/matlabcentral/answers/18021-matrix-vector-substraction
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!