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

6 visualizaciones (últimos 30 días)
  2 comentarios
José-Luis
José-Luis el 24 de Jun. de 2014
If you are new to Matlab, I recommend the "Getting started" part of the documentation.
benjamin
benjamin el 24 de Jun. de 2014
thanks jose for your suggestion but am running out of time to solve this equation.

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 24 de Jun. de 2014
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.

Más respuestas (1)

benjamin
benjamin el 24 de Jun. de 2014
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.

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by