Hello, i have a matrix W (418*413) in the borders i have zeros, i mean in (1,:), (:,1),(:,413),(418,:) they are equal to zero and on the inside off the matrix i have values. What i need to do is, copy all the valeus from line 2 till line 417 from colummn 3 and put it on colummn 1 in the matrix W.
Thanks in advance

 채택된 답변

Amit
Amit 2015년 1월 7일

0 개 추천

W(2:417,1) = W(2:417,3);

댓글 수: 1

Jah-lahfui
Jah-lahfui 2015년 1월 7일
Thanks a lot i wasn't seeing the answer and it so damn easy

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

질문:

2015년 1월 7일

댓글:

2015년 1월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by