%例36-19 二维和三维散点图 x=rand(1,15); y=rand(1,15); z=rand(1,15); subplot(1,2,1) scatter(x,y,'r*') subplot(1,2,2) scatter3(x,y,z,'…
二维背包 源代码
汇集 二维背包 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
灰度图像阈值分割的效果如图所示: 源图为:Fifure No.1 二维最佳直方图熵法及传统遗传算法阈值分割后的图像为:Fifure No.2 二维最佳直方图熵法及传统遗传算法阈值为(s,t): 181 121 二维最佳直方图熵法…
%例36-19 二维和三维散点图 x=rand(1,15); y=rand(1,15); z=rand(1,15); subplot(1,2,1) scatter(x,y,'r*') subplot(1,2,2) scatter3(x,y,z,'…
%例36-19 二维和三维散点图 x=rand(1,15); y=rand(1,15); z=rand(1,15); subplot(1,2,1) scatter(x,y,'r*') subplot(1,2,2) scatter3(x,y,z,'…
%例36-19 二维和三维散点图 x=rand(1,15); y=rand(1,15); z=rand(1,15); subplot(1,2,1) scatter(x,y,'r*') subplot(1,2,2) scatter3(x,y,z,'…
灰度图像阈值分割的效果如图所示: 源图为:Fifure No.1 二维最佳直方图熵法及传统遗传算法阈值分割后的图像为:Fifure No.2 二维最佳直方图熵法及传统遗传算法阈值为(s,t): 181 121 二维最佳直方图熵法…
#include main() { int a[2][3]={{1,2,3},{4,5,6}}; int i,j; printf("array a:\n"); for(i=0;i
程序用vc++6.0编译,执行. 四个程序用不同的方法讨论了不同的背包问题的算法。
knap2 背包问题非递归,优化了一下,可以找到所有满足条件的解。 如果遇到什么问题,请发邮件至horsewhite32@hotmail.com,笔者将不胜感激 uuhorse
#include"iostream" using namespace std; #define C 22 #define N 5 //int s[N]={2,3,4,5};//存放物品的体积 //int v[N]={3,4,5,7};//存放物品的价…