自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 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 509

原创 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

原创 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

原创 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 316

原创 Matlab面向对象编程学习笔记 —— set函数理解

迷惑了好几天的Matlab中的setter的用法(不过好像在Matlab里面并没有setter这一说),感觉明明可以直接对对象的属性进行赋值,这个set函数的用法到底怎么调用,看Matlab oop的文档看了半天,这边一块那边一块的看得头大,终于看到别人特意举例子讲的set和get的用法才恍然大悟,放一下别人文章的链接https://blog.csdn.net/qq_43157190/article/details/104102169。其实,Matlab中默认会生成set函数,从而允许你在直接对对象的属性

2021-01-26 20:20:26 1182

原创 Matlalb学习笔记 — Cody Problem 10

Cody Problem 10

2021-01-18 18:33:41 276

原创 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

原创 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

原创 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 386 3

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除