You should use tolerance and not the isequal function while dealing with floats, also given that you are expecting rounded outputs.
Remove all the words that end with "ain"
1295 Solvers
The Goldbach Conjecture, Part 2
1286 Solvers
749 Solvers
Set some matrix elements to zero
290 Solvers
How many monitors are connected ?
127 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!