wondering if there is a place I can review the submitted solution source codes? I think this is a great place to learn about matlab programming.
@Qianqian Fang: once you've solved a problem, click on the solution map (containing all the green circles and orange x's). On that separate page you can click on each of the shapes to view each solution below the chart.
somehow i get that s='()' is there something wrong with the test suite?
第一次解决问题时,想了很长时间....然并卵
第二次看这个问题,十分钟内解决
It is curious that many solutions checks the "direction" of given parenthesis to find it's pair.
wow I don't find the words to comment this solution except who can read that?!!
Wonderful solution.
Technically, I don't understand where ans is created. If I break this code, I obtain an error (ans is undefined). It seems that the line 4 create ans but only in the function (?).
Hi Jean-Marie. I haven't bee around for some time now. Well, that turned out to be a bug...
http://www.mathworks.com/matlabcentral/answers/46972-is-this-a-possible-matlab-bug-further-strange-behavior
Brilliant !!!
vectors, schmectors!
Project Euler: Problem 1, Multiples of 3 and 5
1498 Solvers
Matrix which contains the values of an other matrix A at the given locations.
214 Solvers
123 Solvers
217 Solvers
Side of an equilateral triangle
2606 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!