Feeds
질문
How can I make a function m-file that compute harmonic sum??
What I did is function f = f+1./i f=0 for i = 1:n f= f + 1./i end Please anyone help me out?
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
What is the difference between A' vs A.' ?
First one is transpose of matrix A. I don't see any difference between A' and A.' since I keep getting same thing
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
How Can I vectorize the following codes?
for i=1:40, A(i,2); end for j=1:100, x(j)=1/j; end s=0; for k=1:100, s=s+rand; end I think for the second one...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
What is the difference between following commands?
A==B vs A=B, where A and B are matrices.
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I write a function m-file that calculates harmonic sum?
Actually, It is my first time using MATLAB and I am assigned to write a function m-file that computes the value of harmonic seri...
10년 초과 전 | 답변 수: 1 | 0