I have y=[2 4 5 10] x=[2 5;4 6;5 1;5 2;5 7;10 3;10 4],I want to fill z=zeros(4,4) to be z=[2 5 0 0;4 6 0 0;5 1 2 7;10 3 4 0]
조회 수: 1 (최근 30일)
이전 댓글 표시
I have y=[2 4 5 10] x=[2 5;4 6;5 1;5 2;5 7;10 3;10 4], I want to fill z=zeros(4,4) to be z=[2 5 0 0;4 6 0 0;5 1 2 7;10 3 4 0]
답변 (1개)
Image Analyst
2013년 11월 27일
Sounds pretty similar to your old, very poorly explained questions. Can't you figure something out from those answers?
댓글 수: 3
Image Analyst
2013년 11월 30일
But I fail to see how having 6 discussions of the same question can be a good thing. We all think you should work this out through just one single discussion, not 6 of them. Why don't you pick one (not this one) as the main one and go with that?
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!