hi folks would need your help as am new to matlab and i need to write that equation using matlab to satisfy my algorithm. thnx

3 次查看(过去 30 天)

采纳的回答

Image Analyst
Image Analyst 2014-6-24
Which of the 3 equations? MATLAB arrays start at 1 not zero. You can use either sum() function or a for loop. If you use sum, make sure you use ./ and not /, like this
B(l) = sum(r(1:l) ./ CR(1:l));
That (1:l) is one to lower case L.

更多回答(1 个)

benjamin
benjamin 2014-6-24
thanks so much for your prompt answer. the first part worked using ur hint but i need also to solve the following equation and i wish you can help too.

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by