![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Cody Problems个人总结
lyang1998
这个作者很懒,什么都没留下…
展开
-
Matlalb学习笔记 — Cody Problem31
Matlab Central Cody Problem 31Problem 31. Remove all the words that end with "ain"A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once.Example: Input s = 'The quick brown fox jumps over the lazy dogs'原创 2021-04-13 21:35:13 · 203 阅读 · 0 评论 -
Matlalb学习笔记 — Cody Problem27
Matlab Central Cody Problem 27Problem 23. Finding Perfect SquaresGiven a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false.Example: Input a = [2 3 4] Output b is trueOutput is true原创 2021-04-08 20:01:26 · 254 阅读 · 0 评论 -
Matlalb学习笔记 — Cody Problem23
Matlab Central Cody Problem 23Problem 23. Finding Perfect SquaresGiven a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false.Example: Input a = [2 3 4] Output b is trueOutput is true原创 2021-03-26 17:18:52 · 315 阅读 · 0 评论 -
Matlalb学习笔记 — Cody Problem 10
Cody Problem 10原创 2021-01-18 18:33:41 · 275 阅读 · 0 评论 -
Matlab学习笔记 — Cody Problems
Matlab Central Cody Problems最近在知乎上看到有人介绍Matlab官方有一个做题的题库,就想着日后会常用到Matlab就拿来练练手学习学习,都是一些学习中的体会,希望有大神看到不对的地方能够指正教导????Problem 4: https://blog.csdn.net/lyang1998/article/details/112673352.Problem 7: https://blog.csdn.net/lyang1998/article/details/112755720原创 2021-01-17 18:52:33 · 506 阅读 · 0 评论 -
Matlab学习笔记 — Cody Problem 4
Matlab Central Cody Problems最近在知乎上看到有人介绍Matlab官方有一个做题的题库,就想着日后会常用到Matlab就拿来练练手学习学习,都是一些学习中的体会,希望有大神看到不对的地方能够指正教导????Problem 4. Make a checkerboard matrixGiven an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The原创 2021-01-15 16:18:31 · 385 阅读 · 3 评论 -
Matlab学习笔记 — Cody Problem 9
Matlab Central Cody Problem 9Problem 9. Who Has the Most Change?You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies that person has (in that order). What is the row index of the p原创 2021-01-17 18:45:42 · 468 阅读 · 0 评论 -
Matlab学习笔记 — Cody Problem 7
Matlab Central Cody Problem 7Problem 7. Column RemovalRemove the nth column from input matrix A and return the resulting matrix in output B.So if A = [1 2 3; 4 5 6];and n = 2, then B is [ 1 3; 4 6 ]这道题目要求把矩阵中的某一列给删除,想了半天就只会分类讨论所要删除的列所在原创 2021-01-17 18:44:09 · 257 阅读 · 0 评论