This should work right? I tried simplifying this as well but not sure why it fails
Dyuman, I have a different set of arguments for the first function in your code. I will need to dig into it to figure out the differences.
Yeah I noticed that too in Tim's answer. If you find any differences, please let me know, it will be very helpful, Thank you!
Return a list sorted by number of occurrences
How to subtract?
Replace all zeros and NaNs in a matrix with the string 'error'
Unique values without using UNIQUE function
Better Index Number
Find pairs of primes with the same digit sum and a specified separation
List the Moran numbers
Compute an integral of a product of sinusoids
Compute a row of the Kimberling shuffle
Find the nth nude number
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