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 Solvers247
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15795 Solvers
-
1234 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1266 Solvers
-
416 Solvers
-
263 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