Problem 2871. Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it.
(The original psi is passed as a number to the function, your job is to deflate the number by returning a number 2 less than the input.)
Solution Stats
Problem Comments
-
5 Comments
Show
2 older comments
James
on 23 Jan 2015
You *do* realize that MathWorks is based in Massachusetts, right? :-)
Alfonso Nieto-Castanon
on 23 Jan 2015
somebody's Matlab license is about to mysteriously disappear...
edfleth
on 23 Jan 2015
Oops!
J.R.! Menzinger
on 27 Jan 2015
HAHAHAHAHHA
XDDDDDD
James
on 28 Jan 2015
Behold...the power of MATLAB: http://blogs.mathworks.com/seth/2015/01/27/simuflate/
Solution Comments
Show commentsProblem Recent Solvers179
Suggested Problems
-
157 Solvers
-
Flip the vector from right to left
8861 Solvers
-
4568 Solvers
-
186 Solvers
-
Test Problem; Create a 5x5 array containing all ones
382 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!