Dyuman Joshi - MATLAB Cody - MATLAB Central

Dyuman Joshi

9
Rank
70
Badges
46039
Score
1 – 50 of 5,067

Dyuman Joshi submitted a Comment to Problem 60784. Indicate how the Prague astronomical clock strikes the hours

Even I am not sure why your solution was flagged as spam. I will inform and ask the Cody team about this behaviour. I don't understand why singular answers are flagged as spam. ¯\_(ツ)_/¯

on 6 Jan 2025 at 15:05

Dyuman Joshi submitted a Comment to Problem 221. Boolean algebra

Christian, the problem has been fixed by the Cody team. I have successfully used the scratch pad with multiple tests. You can try solving the problem again; utilizing the scratch pad for testing solutions. Let me know if you still face this (or any other) problem.

on 1 Jan 2025 at 16:37

Dyuman Joshi submitted a Comment to Problem 1825. Find all vampire fangs

You are right, @DH. Numbers generated through randi([imin imax]) syntax includes both the end values. I have corrected the test case.

on 8 Dec 2024

Dyuman Joshi submitted a Comment to Problem 58019. Factor a number into Fermi-Dirac primes

What should be the output for numbers such as 256? [4 64]? [16 16]? Or 1024? [4 256]? [4 4 64]? [4 4 4 16]? [16 64]? [4 16 16]? Does it have to be a particular pairing(s)? If yes, how so? Or will any/all of them work?

on 8 Dec 2024

Dyuman Joshi received Magic Numbers II Master badge

on 5 Dec 2024

Dyuman Joshi submitted a Comment to Problem 221. Boolean algebra

Hello Christian, I have faced this issue before and notified the Cody team about this. Though they occurred on a singular problem basis (and were solved correspondingly), I am again facing this issue for last couple of days, and now so are you. I am collecting some data before notifying them again. Please let me know the following things so that I can add them while reporting this matter - 1. Does it occur on particular problems or any problem you are trying to solve? If on some particular problems, please let me know which ones. 2. Which OS and Browser are you using? 3. Does the issue get solved by using a different internet connection? Any other info would also be helpful.

on 2 Dec 2024

Dyuman Joshi submitted a Comment to Solution 14403063

@Brian Holden, if you were to explore along the breadth of Cody, you'd come to acknowledge that that is (indeed) a standard practice for good test suites. Serves as a medium for better understanding, and subsequently an active application, of functionalities of MATLAB.

on 22 Nov 2024

Dyuman Joshi submitted a Comment to Solution 10362385

That "[ ]" for assigning y as 1 increases the size of code by 2 points. Hmmm.

on 22 Nov 2024

Dyuman Joshi submitted a Comment to Problem 57655. Generate Hadamard Matrix without using hadamard function

I've corrected the assert() calls in the test suite, as per Chris's feedback. @Aadhithya T V, kindly make a note of how assert() function calls are used.

on 22 Nov 2024

Dyuman Joshi submitted a Comment to Problem 46565. Find an inscribed square on a closed curve

Hello Chris, I have corrected the test case #7 and modified the test suite as per your suggestion. Also, I have rescored the solutions. It was interesting to see that quite a many solutions failed the last test case, incorrectly giving the rhombus as the solution (i.e [1 3 5 7]).

on 14 Nov 2024

Dyuman Joshi submitted a Comment to Solution 14384797

Thanks!

on 14 Nov 2024

Dyuman Joshi submitted a Comment to Problem 46565. Find an inscribed square on a closed curve

Hello Chris, there is actually a typo from my side in the last test case. Point #6 is supposed to be (1,-1) instead of (-1, 1) (which occurs twice). I am unable to correct the test suite at this moment, I will update it inline with your feedback, as soon as I can.

on 4 Nov 2024

Dyuman Joshi submitted a Comment to Problem 59846. Sequencing Odd Even numbers

@VBBV, I strongly recommend you to remove the solution from the solution template and update the test suite with atleast 4 good quality test cases.

on 14 Oct 2024

Dyuman Joshi submitted a Comment to Solution 14295965

Lol.

on 6 Oct 2024

Dyuman Joshi submitted a Comment to Solution 14301953

(Sort of a PSA) further to Christian's comment; this answer by Stephen23 demonstrates about that particular usage - https://in.mathworks.com/matlabcentral/answers/402080-how-to-find-the-neighbors-of-each-element-in-a-matrix#answer_321522

on 16 Sep 2024

Dyuman Joshi submitted a Comment to Problem 60735. Delete some elements in the natural set and find the sum of the first n terms

The problem statement you have posted is not clear nor is there a test suite to work through/with. I suggest you to update your question accordingly within 1 week. Otherwise it will be deleted.

on 8 Sep 2024

1 – 50 of 5,067
Go to top of page