Community Profile # Ramon Villamangca

Last seen: 約1ヶ月 前 2018 以来アクティブ

Learner and Math Enthusiast

Programming Languages:
C++, C, Javascript, MATLAB, Assembly
Spoken Languages:
English

#### Statistics

All
• • • • • • • • • • • • バッジを表示

#### Content Feed

Project Euler, Lattice path - Problem 15
Project Euler Problem #15, is a combinatorial problem. if we mark going down as "D" and going the right as "R", the problem is r...

tail recursive function and wrapper function
The question is not about whether Matlab supports tail recursion. The question is to make a tail recursive function and wrapper ...

multiple digit number in to individual digits
a simple single line solution: >> num = 12345042117; >> arrayfun(@(x) mod(floor(num/10^x),10),floor(log10(num)):-1:0) ans =...

3年以上 前 | 0

How can I count the occurrences of each element in a vector in MATLAB?
This is how I did it: numOccur = sum(arrayfun(@(x) x == elem,vec)) where 'elem', is the element to search in the given v...

4年弱 前 | 0