interpret this matlab code in Java

1 view (last 30 days)
Tino
Tino on 7 Aug 2019
Edited: Tino on 7 Aug 2019
Hello
Please I will like to interpret the following matlab code in java code. I will appreciate it if anyone can help me.
sum (a(1:i)>a(i) + 0.5 * sum(a(i) == a(1:i)))/i
Thanks in advance
  2 Comments
Tino
Tino on 7 Aug 2019
Edited: Tino on 7 Aug 2019
I have made the necessary adjustment. Thank Adam. I hope someone help me with this

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by