Weisz Thomas
Followers: 0 Following: 0
Feeds
질문
i need help balancing the inner matrix dimensions of the two sine functions .
function mul_sines(f1,f2) t=0:0.01:20; s=sin(f1*t)*sin(f2*t+pi); plot(t,s)
거의 6년 전 | 답변 수: 1 | 0
1
답변질문
how can i make the centre elements of a matrix to become zeros
I am writting a function that takes an n-by-m matrix and and an odd interger k as input arguments. both n and m are odd numbers ...
거의 6년 전 | 답변 수: 3 | 0
3
답변답변 있음
i'am writing a function the takes an n-by-m matrix as an input and returns the input matrix with the center element zeroed out. when i run it, it is giving the error:' not enough input arguments' in line two. can anybody assist me please.
function h= zero_middle(h) h(end/2+1/2,end/2+1/2)=0; end
i'am writing a function the takes an n-by-m matrix as an input and returns the input matrix with the center element zeroed out. when i run it, it is giving the error:' not enough input arguments' in line two. can anybody assist me please.
function h= zero_middle(h) h(end/2+1/2,end/2+1/2)=0; end
거의 6년 전 | 0
질문
i'am writing a function the takes an n-by-m matrix as an input and returns the input matrix with the center element zeroed out. when i run it, it is giving the error:' not enough input arguments' in line two. can anybody assist me please.
function zero_middle(h) [n,m]=size(h); for ii=1:n; for jj=1:m; if mod(ii,2) && mod(jj,2); h(end/2+1...
거의 6년 전 | 답변 수: 2 | 0
2
답변질문
what are the indices of the middle element of a matrix
Write a function called zero_middlethat takes an n-by-mmatrix as an input where both nand mare odd numbers (the function does ...
거의 6년 전 | 답변 수: 1 | 0