Grant, in the test suite you expect the answer (Em) to be linearly spaced while it is not. for example, in first test wt=0.5 you check for Em=17.7193 which gives Ec=32.9652. Correct answer is closer to Em=20.25 (when wt=0.5) based on equations you provide. Also, do you really want so small precision? 10e-1 equals 1.
I would also like to comment on the tag "THESE_ARE_JUST_PATHETIC". I don't know who has written this, I don't care. I just feel it inappropriate.
Jan, I've revised the explanation for this problem to be clearer. I understand the confusion, as this is one of many different ways to slice such problems. This problem is specifically asking for extrapolated values of Em using both bound equations and then using the (provided) equally spaced weightings to determine equally spaced modulus estimates. Realistically, such a problem would likely implement statistical distributions, rather than evenly spaced weightings, but I didn't want to make the problem too difficult. Also, I've revised the precision for this and the other problems to be much tighter.
I don't quite understand your second comment regarding the tag. Could you elucidate what you intended?
I meant, that writing such tags like the one mentioned above doesn't explain anything to anyone, but may be offending. I think it is a good practice to say what we enjoy or dislike via comments and let others to discuss it. (I assume it was not your tag, Grant). Anyway, it disappeared
It was definitely not my tag; fortunately it disappeared. Thanks for commenting on it though, as you are right; apparently you influenced the offender to take it down.
Find all elements less than 0 or greater than 10 and replace them with NaN
Sum of diagonals elements of a matrix
Lights Out 7 - 5x5, x moves
Lights Out 15 - 5x5, broken buttons I
Word Search Solver
Scrabble Scores - 12
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