• 大小: 22.58MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-26
  • 语言: Python
  • 标签:

资源简介

本项目包含作者本人参与的数学建模竞赛中、所使用的相关算法的MATLAB实现

资源截图

代码片段和文件信息

function [maxeigvalw] = ahp(A)
    %A为判断矩阵
    [eigveceigval] = eig(A);
    eigval = diag(eigval);   %特征向量
    eigvalmag = imag(eigval);
    realind = find(eigvalmag < eps);
    realeigval = eigval(realind) %实特征根
    maxeigval = max(realeigval) %最大特征值
    index = find(eigval == maxeigval);
    vecinit = eigvec(:index); %最大特征值对应的特征向量
    w = vecinit./sum(vecinit); %特征向量归一化
end

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\AHP\
     文件        1064  2018-04-29 13:47  Mathematical-Model-Implementation-master\AHP\CalculationRI.m
     文件         418  2018-04-29 13:47  Mathematical-Model-Implementation-master\AHP\ahp.m
     文件         329  2018-04-29 13:47  Mathematical-Model-Implementation-master\AHP\data.txt
     文件        1923  2018-04-29 13:47  Mathematical-Model-Implementation-master\AHP\main.m
     文件         408  2018-04-29 13:47  Mathematical-Model-Implementation-master\AHP\sglsortexamine.m
     文件         408  2018-04-29 13:47  Mathematical-Model-Implementation-master\AHP\tolsortvec.m
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\初等元胞自动机\
     文件        1602  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\初等元胞自动机\basic_CA.m
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\扩散限制聚集\
     文件        1650  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\扩散限制聚集\main.m
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\森林火灾\
     文件         819  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\森林火灾\foreset_fire.m
     文件         758  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\森林火灾\main.m
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\气体动力学\
     文件        3039  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\气体动力学\main.m
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\渗流集群\
     文件        1151  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\渗流集群\main.m
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\激发介质\
     文件        1098  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\激发介质\main.m
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\生命游戏\
     文件        1550  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\生命游戏\game_of_life.m
     文件        2140  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\生命游戏\main.m
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\砂堆规则\
     文件        2097  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\砂堆规则\main.m
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\表面张力\
     文件        2000  2018-04-29 13:47  Mathematical-Model-Implementation-master\CellularAutomata\表面张力\main.m
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\FuzzyMathematicalModel\
     目录           0  2018-04-29 13:47  Mathematical-Model-Implementation-master\FuzzyMathematicalModel\多层次模糊综合评价\
............此处省略899个文件信息

评论

共有 条评论