Hello Alfonso. Do you want a hacking of the pcode ? Is it possible ? Or do you want a more common measurement from the image with your parameters?
I was going for the simple measurement (and the .p function was just to avoid publishing the actual solution) but please feel free to explore other approaches as well. While common hacks to pass this problem would work, I believe it might not be possible to hack the piechartsolve.p function to give away the solution (but I will be very interested if that proves to be wrong!)
I tried something in my solution.
Ha! I did not think of that, congrats! That gave me an idea for a potentially "unpeakable" .p code. I will create a new problem for that later tonight
Determine whether a vector is monotonically increasing
Project Euler: Problem 1, Multiples of 3 and 5
Make a 1 hot vector
Sum of odd numbers in a matrix
singularity 2.0 (hard)
Fastest shortest-path-finder in the west
Free passes for everyone!
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office