Find the pattern for the following sequence
pat(1) = 98
pat(3) = 94
pat(6) = 118
pat(10) = 130
Create a funciton which satisfies the pattern shown above.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers264
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6865 Solvers
-
Return the largest number that is adjacent to a zero
5549 Solvers
-
952 Solvers
-
Cell Counting: How Many Draws?
2533 Solvers
-
Rounding off numbers to n decimals
5827 Solvers
More from this Author180
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
tip: plot the points and try to find the pattern