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일)
  댓글 수: 2
José-Luis
José-Luis 2014년 6월 24일
If you are new to Matlab, I recommend the "Getting started" part of the documentation.
benjamin
benjamin 2014년 6월 24일
thanks jose for your suggestion but am running out of time to solve this equation.

댓글을 달려면 로그인하십시오.

채택된 답변

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