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!
Renaming a field in a structure array
Get the area codes from a list of phone numbers
Permute diagonal and antidiagonal
I've got the power! (Inspired by Project Euler problem 29)
Generalized Laguerre polynomials
Solve the Challenger puzzle
Determine the winner of a goofy golf tournament
Generate a list of composite numbers
Determine the Zeckendorf expansion of a number
Find the nth Fibbinary 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