Hi, Jamil Kasan. Could you please also block the hack demonstrated in "Solution 1421065"? A few other submissions including "Solution 1065619", and "Solution 1274309" are not strictly following the indication in the title to use _only_ sine. At time of writing goc3 has the smallest fully compliant submission ("Solution 1042965") [why didn't I think of this!] by my interpretation of the Problem. —DIV
Find the longest sequence of 1's in a binary sequence.
Determine if input is odd
Back to basics 26 - Keywords
Multiply a column by a row
Matlab Basics II - Extract last 3 elements of a vector
Combine the digits to output numbers
Create cosine function out of sine
Rotate Matrix Depending on the input
Add Me To Death (Sum sum sum)
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