a programmer had too much coffee and his boss needs cos(alpha+beta) correctly, especially when alpha or beta are close to pi/2 and the coffee is close to ninety degrees. A hint: sin() may be appropriate for some input, without committing any sin!!
still trying to figure it out... did you use some combination of evalin('caller','cleanCellCode',...); evalin('caller','pass',...); in your evaluation suite? otherwise, care to provide a hint?
a hint: sin() may be appropriate for some input!!
guessed about overloading, but I am curious, how do you get those bits of code not showing up on your test suite? (also, unrelated, it is a strange world where cos(pi/4+pi/4)=1/sqrt(2)...)
or perhaps there is just some issue with the cody machinery today, some of the 'valid' solutions seem rather 'invalid', and the size computation just plain strange...
Actually, I like the problem, but don't understand this particular solution.
Replace NaNs with the number that appears to its left in the row.
2 b | ~ 2 b
Replace May with April
Find the largest value in the 3D matrix
frame of the matrix
Find the outlier in a set of samples
Have you seen any Spindromes recently?
Distance walked 1D
Predicting life and death of a memory-less light bulb
Use of regexp
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