Cody

# Pooja Lalan

Rank
Badges
##### 4890
Score
1 – 50 of 239
 Pooja Lalan received Likeable badge for Problem 44958. Crop an Image on 8 May 2020 Omkar- Thanks for pointing out the issue with the test suite. I have modified messages to errors when the solution has no plot or too many plots. The solutions will be rescored. on 11 Apr 2020 Pooja Lalan submitted a Comment to Solution 2197935 Hi Ali, this is because the output m is expected to contain the minimum value of the input y, not a handle to the plot. Hope that helps. on 8 Apr 2020 @Hugo, check syntax for load in the documentation https://www.mathworks.com/help/matlab/ref/load.html Specifically, check what to expect when assigning output from load to a variable. on 7 Apr 2020 Thanks Ian for pointing out the error. I have updated the description to use the appropriate name for the marker. on 7 Apr 2020 Pooja Lalan submitted a Comment to Solution 2172277 The output is expected to be a column vector, whereas your code returns a table. on 7 Apr 2020 on 31 Mar 2020 Pooja Lalan submitted a Comment to Problem 44958. Crop an Image Hint 1: You need not know or use anything about the value of pixels in this image. Hint 2: All you have to do is get a subset of a matrix in MATLAB (the matrix, in this case, represents an image). on 30 Mar 2020 If the output x*y is not assigned to any variable, MATLAB assigns it to the variable ans by default. In this solution, z has been replaced with ans in the function definition to return the unassigned output. on 30 Mar 2020 Pooja Lalan submitted a Comment to Problem 44960. Rescale Scores Thank you! Modified the problem statement. on 30 Mar 2020 Mohamed, the check plotted data error suggests that the data you are plotting in the plot command does not match the data you are expected to plot i.e. your y and m variables. The red star marker must be on the minimum value of any given input signal y. on 5 Mar 2020 Pooja Lalan submitted a Comment to Solution 2138479 The problem specifies that the input hw is a matrix with two columns (not a table). So, the error is saying that you cannot use dot indexing on a matrix. on 24 Feb 2020 on 3 Feb 2020 on 3 Feb 2020 on 3 Feb 2020 on 3 Feb 2020 on 3 Feb 2020 Pooja Lalan submitted a Comment to Solution 2091052 The expected output is a column vector containing ALL the bmi values, whereas your code returns a single bmi value i.e. the last one. Hope that helps! on 14 Jan 2020 Pooja Lalan received Famous badge on 10 Jan 2020 Thanks Richard. I have modified the problem description to mention this. on 20 Dec 2019 on 20 Dec 2019 on 20 Dec 2019 Pooja Lalan received Puzzler badge on 19 Dec 2019 Pooja Lalan submitted a Comment to Solution 2059232 Thanks Paresh. Your approach is a valid solution that the tests were not designed to evaluate previously. I have now modified the tests to pass this alternative approach. However, there are two other issues with this solution, which you will have to resolve: 1. The color 'b' expected for the line is not the same as the default blue color the MATLAB uses. 2. The output is expected to be the minimum value of y, not a handle to the plot. I have also added appropriate messages for the tests. Thanks again! on 19 Dec 2019 Pooja Lalan submitted a Comment to Solution 2041010 Hi Asif, the output from the function is expected to be only the minimum value of vector y; whereas your code returns both - the minimum value of y and also the corresponding t. This is causing the last test to fail. I will modify the tests to make it clearer. You should pass the tests if you set m = ymin on 9 Dec 2019 on 18 Nov 2019 Pooja Lalan submitted a Comment to Problem 44958. Crop an Image Thank you Payam. I assume you meant specifying the order of the inputs explicitly. I have updated the description to make it clearer. on 11 Nov 2019 on 5 Nov 2019 on 5 Nov 2019 on 4 Nov 2019 on 4 Nov 2019 on 4 Nov 2019 on 31 Oct 2019 on 31 Oct 2019 on 31 Oct 2019 on 31 Oct 2019 on 31 Oct 2019 on 31 Oct 2019 on 31 Oct 2019 on 31 Oct 2019 on 31 Oct 2019 on 31 Oct 2019 on 31 Oct 2019 on 30 Oct 2019 on 30 Oct 2019 Pooja Lalan received Curator badge on 28 Oct 2019 Pooja Lalan submitted a Comment to Solution 1981825 Andrew, I suspect that this is failing the second test because the new plot lines are being plotted over the previous plot (from test 1). It is always a good practice to use 'hold off' (here and in MATLAB, generally) to stop plotting over old plots. Having said that, I will consider adding a 'figure' command to the tests, since Cody does not display the plots and it is difficult to debug this particular problem without seeing the plots. on 21 Oct 2019 Pooja Lalan received Commenter badge for Solution 1981825 on 21 Oct 2019 Pooja Lalan received Quiz Master badge for Solution 1983765 on 20 Oct 2019
1 – 50 of 239