Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

edit-generating a matrix value

조회 수: 1 (최근 30일)
FIR
FIR 2012년 2월 14일
마감: MATLAB Answer Bot 2021년 8월 20일
I left out Pso at present since i am in need to submit my project,in next phase i decided to perform pso ,that is within a week ,now i want to do simple codings
that is
I have an image of 256x256,in thsese matrices i want to make some values as zero
for example let me consider 3x3
A=[2 3 9 1 8 5 2 7 6]
i need 10 matrix like
A_1=[2 0 9 0 8 0 2 7 0]
A_2=[0 3 9 1 0 5 0 0 6]
; ; ; A_10=[2 3 0 0 8 0 2 7 0]
like this i need to perform for 256x256 matrix,please help,

답변 (1개)

Andrei Bobrov
Andrei Bobrov 2012년 2월 14일
  댓글 수: 1
FIR
FIR 2012년 2월 14일
Yes andrei,but one thing is that ,i get only 4 zeros,if i take 256x256 matrix i need atleast 60-70 zeros,please help

태그

Community Treasure Hunt

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

Start Hunting!

Translated by