help me please to write matlab code for the mathematical function attached in the pdf file ?
Afficher commentaires plus anciens
help me please to write matlab code for the mathematical function attached in the pdf file ?
3 commentaires
Walter Roberson
le 24 Mar 2018
Are you certain that is the correct equation?
The items to be summed appear to be independent of the variable of summation, so the value to be summed could be moved outside the summation, leading to a constant times the sum over i = 1 to N of one (1), which is (N+1)*N/2
Abdelaziz Darwiesh
le 25 Mar 2018
Abdelaziz Darwiesh
le 25 Mar 2018
Réponses (1)
elham kreem
le 24 Mar 2018
0 votes
at the first , i put some values to run the equation ; the second , i run a part from this equation , because the part of the sum is not run , rau =0.5; v= 6; lamda = 2; mu = 4 ; c= 1; r= 3; n= 3; s2 = 1+rau-2*sqrt(r)*cos(v)
k=((-lamda-mu+2*sqrt(lamda*mu)*cos(v)) / (r*c)) * v
sum1=0
for i =1 : n
s1(i)=sin(v*i)- sqrt(rau) * sin(i+1)*v
end
for j =1 : 10
for i =1 : n
k1(j,i)= (rau^((j+1)/2)) / (n+1)
end
end
with best
Catégories
En savoir plus sur Performance and Memory dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!