自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (2)
  • 问答 (8)
  • 收藏
  • 关注

原创 【报错解决】Error using mex gcc: error: gdiplus.lib: No such file or directory

问题出在编译器上,按照编译要求,需要安装VS和MinGW-w64,但使用MinGW-w64会报错,同时matlab在C和C++语言编译时的默认编译器是MinGW-w64,故需要在编译前设置两种语言的编译器为VS。输入命令后选择VS编译器即可。...

2022-08-10 15:05:32 674

原创 Python报错SyntaxError: EOL while scanning string literal

Python报错SyntaxError: EOL while scanning string literal是由于引号没有成对出现,定位报错语句,检查引号即可

2021-11-09 10:15:31 2566

原创 OpenCV训练样本时出现无法启动此程序,因为计算机中丢失api-ms-win-downlevel-shlwapi-l1-1-0.dll文件的解决办法

OpenCV训练样本时出现无法启动此程序,因为计算机中丢失api-ms-win-downlevel-shlwapi-l1-1-0.dll文件的解决办法在使用OpenCV训练xml样本文件时,在一台新电脑上出现相关报错解决方法就是添加相关文件到指定路径即可。文件下载地址:点击下载文件下载文件解压后,放到C盘Windows文件夹下的System32和SysWOW64两个文件夹内,一一对应即可解决。...

2021-05-15 13:11:55 1413 1

原创 欧拉计划(Project Euler)第二十三题 matlab 23

原题目:A perfect number is a number for which the sum of its proper divisors is exactly equal to the number. For example, the sum of the proper divisors of 28 would be 1 + 2 + 4 + 7 + 14 = 28, which means that 28 is a perfect number.A number n is called def

2020-10-04 17:17:57 285

原创 欧拉计划(Project Euler)第二十二题 matlab 22

原题目:Using names.txt (right click and ‘Save Link/Target As…’), a 46K text file containing over five-thousand first names, begin by sorting it into alphabetical order. Then working out the alphabetical value for each name, multiply this value by its alphabe

2020-09-29 15:45:35 266

原创 欧拉计划(Project Euler)第十题 matlab 10

原题目:The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.Find the sum of all the primes below two million.sum=0;for i=2:2000000 if isprime(i)==1 sum=sum+i; endendsum最后输出结果是142913828922

2020-09-28 22:26:38 252 2

原创 欧拉计划(Project Euler)第九题 matlab 9

原题目:A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,a2 + b2 = c2For example, 32 + 42 = 9 + 16 = 25 = 52.There exists exactly one Pythagorean triplet for which a + b + c = 1000.Find the product abc.for a=1:999 f

2020-09-28 22:24:51 127

原创 欧拉计划(Project Euler)第七题 matlab 7

原题目:By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.What is the 10 001st prime number?a=1;b=0;i=1;n=0;while i a=a+1; b=double(isprime(a)); n=n+b; if n==10001 i=0; enden

2020-09-28 22:21:17 144

原创 欧拉计划(Project Euler)第六题 matlab 6

原题目:sum1=0;sum2=0;a=0;for i=1:100 sum1=sum1+i^2; sum2=sum2+i;endsum2=sum2^2;a=abs(sum1-sum2)最后输出结果是25164150

2020-09-28 22:16:38 144

原创 欧拉计划(Project Euler)第五题 matlab 5

原题目:2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?for i=1:1:100000000000 if mod(i,11)==0&amp

2020-09-28 22:13:08 150

原创 欧拉计划(Project Euler)第三题 matlab 3

原题目:The prime factors of 13195 are 5, 7, 13 and 29.What is the largest prime factor of the number 600851475143 ?a=600851475143for k=(a-1)/2:-1:3 if mod(a,k)==0 if isprime(k) disp(k) break end endend 最后

2020-09-28 20:35:17 166

原创 欧拉计划(Project Euler)第二题 matlab 2

原题目:Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:1, 2, 3, 5, 8, 13, 21, 34, 55, 89, …By considering the terms in the Fibonacci sequence whose values do not ex

2020-09-28 20:29:11 183

原创 欧拉计划(Project Euler)第一题 matlab 1

原题目:If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.Find the sum of all the multiples of 3 or 5 below 1000.sum=0;for i=1:1:999if mod(i,3)==0 sum=sum+i;else if mo

2020-09-28 20:27:19 220

原创 欧拉计划(Project Euler)第二十一题 matlab 21

原题目:Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n).If d(a) = b and d(b) = a, where a ≠ b, then a and b are an amicable pair and each of a and b are called amicable numbers.For example, the proper

2020-09-28 19:30:47 322

原创 欧拉计划(Project Euler)第十五题 matlab 15

原题目:Starting in the top left corner of a 2×2 grid, and only being able to move to the right and down, there are exactly 6 routes to the bottom right corner.How many such routes are there through a 20×20 grid?分析:从2×2的图像可以看出,向下和向右的步数是相同的,可以认为是在左上角的点有两种选

2020-09-28 15:20:02 240 1

原创 欧拉计划(Project Euler)第十九题 matlab 19

欧拉计划(Project Euler)第十九题 matlab原题目:You are given the following information, but you may prefer to do some research for yourself.1,Jan 1900 was a Monday.Thirty days has September,April, June and November.All the rest have thirty-one,Saving February al

2020-09-27 12:02:18 948 1

api-ms-win-downlevel-shlwapi-l1-1-0.zip

用于解决训练样本时出现“计算机中丢失api-ms-win-downlevel-shlwapi-l1-1-0”,解压至C盘的对应Windows文件夹即可

2021-05-15

Windows.zip

用于解决“计算机中丢失api-ms-win-downlevel-shlwapi-l1-1-0”,解压至C盘,对应Windows文件夹

2021-05-15

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

TA关注的人

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