Very nice exercise!
Good use of unfamiliar MATLAB functions!
Slight error in the problem definition. The solutions require two decimal places not two significant figures!
It seems that we can't use the ans trick. It's new no ?
wow, yes, it seems the last valid solution with ans trick was just a few hours ago, wonder if this is a temporary glitch or a "permanent" fix?
Yes, release 2015b is the cause of that. I can observe the same think with my update.
Find all elements less than 0 or greater than 10 and replace them with NaN
13059 Solvers
9840 Solvers
284 Solvers
315 Solvers
492 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!