check whether n is a frugal number
I'm confused. My solution followed the definition of frugal numbers from https://en.wikipedia.org/wiki/Frugal_number, which includes counting the number of digits in the exponents, and also checks frugality in other bases (not just base 10). But most solutions don't follow this. Can you clarify this?
Remove the two elements next to NaN value
We love vectorized solutions. Problem 1 : remove the row average.
Convert from Fahrenheit to Celsius
Find the Oldest Person in a Room
ZigZag - 03
Find the sequence
Don't be Too Greedy!!
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