标签:www.tianjin-qmedu.com, 2005: / matlabcentral / fileexchange /喂?类别% 5 b % 5 d = matlab findex % 2 MATLAB中央文件交换 程序 logo.png MATLAB中央文件交换 用户输入的代码库 2023 - 05 - 29 t17:35:50 + 0 70年 1 60 46824年 2016 - 09 - 17 - t04:21:30z 2016 - 09 - 17 - t04:21:30z RSA算法 RSA算法的加密和解密消息

这段代码要求两个质数,然后计算公共和私人密钥。消息使用公钥加密和解密使用私钥。一个例子是显示在图。

suriyanath //www.tianjin-qmedu.com/matlabcentral/profile/5010542-suriyanath
46547年 2018 - 04 - 29 - t18:10:57z 2018 - 04 - 29 - t18:10:57z 覆盆子πIO控制效用 测试或控制覆盆子πIO别针Matlab GUI

设置的覆盆子π与Matlab。看看Matlab硬件支持包文档。万博1manbetx这个基于GUI程序会自动连接到覆盆子π如果已经配置。它显示了销逻辑值的颜色。销头P1和P5覆盆子π一样。此外,它显示了实际位置上的钉头覆盆子π。针方向可以设置为输入或输出通过点击按钮。直接点击覆盆子π别针将改变状态。销状态是直播。注:这个程序更新处理所有当前覆盆子π模型。 But, didn't check all models as I didn't have all boards. Suggest you to report any errors so that we can fix.

Shamnad //www.tianjin-qmedu.com/matlabcentral/profile/4232074-shamnad
29616年 2016 - 09 - 01 - t15:16:28z 2016 - 09 - 01 - t15:16:28z passwordUI 对话框用来查询和创建密码。

这个函数显示一个对话框让用户输入一个密码,混淆了星号(*)。在“创建”模式下,它让用户重新输入密码。您可以执行的最小字符数和类型的密码(字母,数字,字母和数字或字母/数字/特殊字符)。pw = passwordUI (pw) = passwordUI(“创建”、“AlphaNum”) pw = passwordUI(‘创造’,‘AlphaOnly’, 8)

汪东城Doke //www.tianjin-qmedu.com/matlabcentral/profile/869871-jiro-doke
61296年 2017 - 02 - 04 - t15:54:04z 2017 - 02 - 04 - t15:54:04z 图像加密使用坐:一个轻量级加密算法的安全物联网 图像加密使用坐:一个轻量级加密算法的安全物联网

在此提交我的模拟图像加密使用轻量级加密算法命名为安全物联网(坐)。这是一个64位的分组密码,需要64位的密钥来加密数据。的架构算法feistel和统一substitution-permutation网络的混合物。参考:坐:一个轻量级加密算法的安全网络Thingshttp: / /thesai.org/Publications/ViewPaper?Volume=8&问题= 1,代码= IJACSA& SerialNo = 51

现在汗 //www.tianjin-qmedu.com/matlabcentral/profile/1695565-shujaat-khan
70257年 2022 - 09 - 27 - t20:38:46z 2022 - 09 - 27 - t20:38:46z 为Apache Avro MATLAB接口 为Apache Avro MATLAB接口文件。

Apache Avro™是一个数据序列化系统。Avro提供了一个紧凑、快速、二进制数据格式与动态语言和简单的集成。Avro严重依赖模式。当数据存储在一个文件,存储的模式,这可能被任何程序处理后的文件。为Apache Avro MATLAB接口提供了阅读和写作的Apache Avro在MATLAB文件。功能包括:*本地Avro文件的读和写* Avro文件的元数据的访问

Viswanath //www.tianjin-qmedu.com/matlabcentral/profile/4878437-viswanath
60539年 2017 - 01 - 19 t23:35:39z 2017 - 01 - 19 t23:35:39z 使用MATLAB仿射密码加密/解密指南 仿射密码加密解密使用MATLAB的向导

这段代码将使用仿射密码算法加密/解密文本。mono的仿射密码是一种字母替换密码。脚本使用MATLAB实现指南。加密规范——关键尺寸a和b是钥匙每个关键尺寸是5 bitsa和b键不能超过5位整数将错误的程序

塔米尔Suliman //www.tianjin-qmedu.com/matlabcentral/profile/2727031-tamir-suliman
58362年 2019 - 05 - 31 - t13:03:33z 2019 - 05 - 31 - t13:03:33z 凯撒密码 简单的凯撒数字代码

使用这个简单的代码,您可以从凯撒加密/解密文本和数字,给定一个句子和转变(s)的数量。

雷纳托SL //www.tianjin-qmedu.com/matlabcentral/profile/8461333-renato-sl
27903年 2018 - 09 - 14 - t17:54:21z 2018 - 09 - 14 - t17:54:21z fprintf_r——回车换行 为MATLAB命令窗口替代流(‘\ r)不工作在Windows…10。

Matlab函数做一个回车(没有换行!)其次是一些使用流输出。这是有用的,例如,更换一个计数器的显示我的风格:流(‘\ r % f ',我),因为\ r格式不是正常工作在windows系统。输入一个字符串和一个变量x的转发到流命令流(s, x)。用一个向量x如果您想显示几个变量。在第一次调用这个函数,没有别的。从第二个电话,相应数量的退格插入之前执行流(s, x),所以输出从这个地方开始就已经开始没有第一个流命令。如果“重置”作为第三个参数,脚本处理和x在第一次调用的函数。如果“重置”1日,只有论点,下一次调用将被视为一个“第一”,一次。用法:fprintf_r(年代,x['复位'])或fprintf_r(“重置”)的例子:因为我=一一驳斥fprintf_r(‘%’,我);暂停(0.05)结束fprintf_r(“重置”)N。B:这个函数是没有必要在UNIX系统中,作为\ r工作正常。

Florian Dignath //www.tianjin-qmedu.com/matlabcentral/profile/156417-florian-dignath
36540年 2014 - 07 - 10 - t22:50:00z 2014 - 07 - 10 - t22:50:00z 更新MATLAB风格的元素 修改文本,修复错误,供应更多的动力,使额外的建议。

自出版以来,我收到了良好的反馈包括问题,观察和论证。本文包含替换或其他部分的书地址反馈。这也使得一些额外的建议MATLAB风格相关注意事项和最近的MATLAB版本的变化。

理查德。约翰逊 //www.tianjin-qmedu.com/matlabcentral/profile/22731-richard-johnson
5378年 2004 - 07 - 12 - t09:41:33z 2004 - 07 - 12 - t09:41:33z 解释清楚 这个函数检查单词的拼写,并返回建议如果拼错。

解释清楚[状态,建议]=(文本);解释清楚状态=(文本);例子:[状态,建议]=解释清楚(“嗨”);状态=解释清楚(“酋长”);

法赫德艾尔·马哈茂德 //www.tianjin-qmedu.com/matlabcentral/profile/869704-fahad-al-mahmood
74113年 2020 - 02年- 02 - t19:23:03z 2020 - 02年- 02 - t19:23:03z 物流混沌加密(4比特encoder-decoder) 物流混沌加密(4比特encoder-decoder)

物流混沌加密(4比特encoder-decoder)

Majid Farzaneh //www.tianjin-qmedu.com/matlabcentral/profile/6975245-majid-farzaneh
24447年 2009 - 06 - 23 - t07:51:59z 2009 - 06 - 23 - t07:51:59z 生成任何MATLAB的m文件代码变量 生成任何MATLAB的m脚本代码变量。如果运行,再现了输入变量的代码。

你试过检查和修改/细胞深层嵌套的结构体变量?当然,matlab变量编辑器将有助于想象这些变量。然而,自动创建这样一个变量或改变的一些深层嵌套的字段通常这个提交可能是有用的。主要功能是GENCODE。这个函数递归地遍历输入变量。递归停止如果当前的一部分输入变量的值可以表示为MATLAB的右手边赋值(通常是这种情况的二维矩阵,字符数组或单元)。在这种情况下,GENCODE_RVALUE叫做创建代码的右手边作业,和GENCODE_SUBSTRUCT叫做创建正确的参考输入变量。一个非常简单的例子:%结构体变量2 " A "和" b 'x字段。= 1,x。b =“somestring”; % itstr = gencode生成代码(x); %显示这个codechar (str) %清楚原始variableclear x %重现它通过评估codeeval (sprintf (“% s”, str {:})) hgsave_pre2008a.m中提供一个更实际的例子。2008年MATLAB,引导节约%自动uicontrol匿名函数处理回调。不幸的是,当加载.fig / MATLAB R14SP3崩溃。垫文件包含一定的匿名函数。一个可能的解决方案是奖金。 open the .fig file in MATLAB 2008a2. generate code for it3. run the generated code in MATLAB R14SP34. save the resulting variable in a new .fig file

沃尔克Glauche //www.tianjin-qmedu.com/matlabcentral/profile/21677-volkmar-glauche
53768年 2019 - 07 - 20 - t10:44:50z 2019 - 07 - 20 - t10:44:50z DES (str,关键模式) DES加密

数据加密标准算法。64位密钥和块。央行模式。任何字符串进行加密/解密。一个过时的密码,但良好的密码学研究。启发:数据加密标准(DES)吴曰2012年8月18日(2012年9月21日更新)//www.tianjin-qmedu.com/matlabcentral/fileexchange/37847-data-encryption-standard--des-/content/DES.m

尼古拉斯·费利克斯 //www.tianjin-qmedu.com/matlabcentral/profile/7062136-nicholas-felix
72067年 2019 - 07 - 05 - t08:09:49z 2019 - 07 - 05 - t08:09:49z 了柜台 计数器复位和可调节计算元素的数量

为我的项目我必须开发一些计数器将停止输入到另一个从一个子系统,是发出后5次。所以搜索网站没有任何贡献,我决定创建自己的版本。我希望这将有助于某人与类似的问题。复位输入,可以重置计数器归零,重新开始计数。

鲍里斯vuleta //www.tianjin-qmedu.com/matlabcentral/profile/13494208-boris-vuleta
64466年 2018 - 04 - 20 - t15:08:29z 2018 - 04 - 20 - t15:08:29z gcl -获取当前行 线的高档洋房等价。

返回选中的行处理线在当前的仿真软件系统。万博1manbetx

莫妮卡Jaskolka //www.tianjin-qmedu.com/matlabcentral/profile/4417791-monika-jaskolka
46357年 2014 - 04 - 25 - t13:16:44z 2014 - 04 - 25 - t13:16:44z 不确定性传播类(加州大学) 一个类来处理不确定性传播在Matlab

加州大学类过载基本Matlab操作允许通过计算误差传播。主要功能包括:1。适当的自相关跟踪。在下面的例子中,x1, x2, x3都会返回相同的valuea =加州大学(10 4 ' ');b =加州大学(100年,1,' b '); c =加州大学(95、2、“c”); x1 = * (b - c); x2 = a * b - a * c;日元= a * b; y2 = * c; x3 = y1, y2;和一个将返回/ ought.2 1 + / - 0。完整的贡献通过操作跟踪。每个输入的部分贡献为派生数量报告最终的不确定性。加州大学对象可以创建一个名字,这将用于跟踪的贡献。那些没有名字创建分配一个随机name.3。统一的一元多项式和二元函数的定义很容易将新功能添加到加州大学上课。例如,正切函数的定义是:函数y = tan (x) y =加州大学。UnaryFunction (x, @tan @ (v)交会(v) ^ 2); end4。兼容标量乘法,所以它可以集成到现有的代码更加easily.5。 Built-in plot function to plot UC values with x and y error bars.Examples:Ways to create UC objects:w = UC(10,1); % will be assigned a namex = UC([10 12 -12],[1 3 4],'x');y = UC([1 2 3 4]', 2, 'y');z = UC(15, 10, 'z');Basic operations (note, all operators use the '.' operators, the matrix version of the operations is not supported yet):m1 = 4*w;m2 = y + z;m3 = atan(m1+z).^w; %.^ and ^ do the samem4 = y.*w + 5;The most current version of the class is hosted on GitHub.

泰勒V //www.tianjin-qmedu.com/matlabcentral/profile/4429286-tyler-v
28979年 2010 - 10 - 08 - t14:45:06z 2010 - 10 - 08 - t14:45:06z 加密的电子邮件地址 用命令创建向量可以破译char (cumsum(向量))。

可以用作Matlab原教旨主义者想写他们的电子邮件地址作为函数向量可读的字符(cumsum(向量))。这是一个非常简单的脚本。它不是一个最初的想法但我第一次看到技巧在博客“周”文件交换选择加密的电子邮件地址

杰罗姆Degallaix //www.tianjin-qmedu.com/matlabcentral/profile/1435760-jerome-degallaix
8233年 2005 - 08 - 09 - t09:39:24z 2005 - 08 - 09 - t09:39:24z MAC和IP地址,网络id 这个c-mex函数获得计算机的MAC和IP地址和id。

获得物理地址(MAC)和计算机的IP地址。作为一个MATLAB版本“ipconfig”。

史蒂文黄 //www.tianjin-qmedu.com/matlabcentral/profile/870155-steven-huang
69294年 2020 - 03 - 08 - t03:20:03z 2020 - 03 - 08 - t03:20:03z 要求检验员 脚本检测依存关系和其他所需最低版本的Matlab脚本。

#介绍#这个脚本是一个简单的工具来检测从属和最低要求版本的Matlab脚本。很方便的时候发布脚本代码共享平台和/或保存版本的向后兼容性。#使用#“check_requirements”函数接受一个输入参数,必须有效的路径Matlab脚本或一个目录包含一个或多个Matlab脚本在任何层次的深度。结构函数的结果取决于“类型”输入参数:1):两个字段的结构,“Deps”和“VerInfo”,其值是描述below.2) DEP:单元阵列的字符串表示的名称dependancies.3)版本:如果“extv”是假的,一个代表最低版本的字符串,否则n-by-3表列出所有被调用的函数和各自的最低版本(如果可用)。# # 1例子)全球需求检查指定的文件夹内的所有脚本:res = check_requirements (“C: \ scripts \”); 2)要求检查一个特定的脚本:res = check_requirements (C: \ \ my_script.m脚本);#笔记#“check_requirements”功能使用的最优方法。这意味着,它试图收集尽可能多的信息,但不能保证100%准确的结果。

托马索Belluzzo //www.tianjin-qmedu.com/matlabcentral/profile/9773769-tommaso-belluzzo
71961年 2019 - 06 - 26 - t17:25:04z 2019 - 06 - 26 - t17:25:04z rollingMedian C-MEX 2 d值

B = rollingMedian (R C)执行在二维中值滤波中的一个最小的边缘效应和相移。输入- - - - - -答:输入阵列尺寸允许:(M x N) (M x N ?), (M x N x ?x ?)…As long as the leading dimensions of A (M & N) are nonzero, the filter will operate on all trailing dimensions. R : Filter Window Rows (1 < R < M / 2)C : Filter Window Cols (1 < C < N / 2)Outputs-------B : Output Array with the same dimensions and class as A.Remarks-------rollingMedian uses a median-heap to compute the rolling median ratherthan a sorting approach (i.e. sort all elements for each window). The time complexity of a sorting approach (for e.g. quicksort, mergesort) is O(M*N*R*C*log(R*C)). The time complexity of the median heap approach is O(M*N*log(R*C)).Edge Effects------------The left and right edges (1) are filtered first usingsuccessively wider filter windows for all pixels whose col index is lessthan C/2. The top and bottom edges (2) are filtered second usingsuccessively taller filter windows for all pixels whose row index is lessthan R/2.Phase Distortion----------------The algorithm operates on 4 pointers simultaneously (one for each of thetop-left, bottom-left, top-right, and bottom-right of the array) andmoves from the edges of the array inward. This creates a south-east phaseshift in the top-left quadrant, a north-east phase shift in thebottom-left quadrant, a south-west phase shift for the top-right quadrant,and a north-west phase shift in the bottom right quadrant. This maycreate distortion at N/2 if C is even, and M/2 if R is even. If M or N is odd,the median windows from both sides are advanced one row or col and the averageof both sides is used. Filter Window Passes--------------------1a: cols 0 to C/2-1, rows 0 to M/2-11b: cols 0 to C/2-1, rows M-1 to M-M/2 (reverse)1c: cols N-1 to N-C/2 (reverse), rows 0 to M/2-11d: cols N-1 to N-C/2 (reverse), rows M-1 to M-M/2 (reverse)1B: if M%2 : (cols 0 to C/2-1, row M/2) & (col N-1 to N-C/2 (reverse), row M/2)2a: cols C/2 to N/2-1, rows 0 to R/2-12b: cols C/2 to N/2-1, rows M-1 to M-R/2 (reverse)2c: cols N-C/2-1 to N-N/2 (reverse), rows 0 to R/2-12d: cols N-C/2-1 to N-N/2 (reverse), rows M-1 to M-R/2 (reverse)2B: if N%2 : (col N/2, rows 0 to R/2-1) & (cols N/2, rows M-1 to M-R/2 (reverse))3a: cols C/2 to N/2-1, rows R/2 to M/2-13b: cols C/2 to N/2-1, rows M-R/2-1 to M-M/2 (reverse)3c: cols N-C/2-1 to N-N/2 (reverse), rows M/2 to M/2-13d: cols N-C/2-1 to N-N/2 (reverse), rows M-R/2-1 to M-M/2 (reverse)3B: if N%2 : (col N/2, row R/2 to M/2-1) & (col N/2, rows M-R/2-1 to M-M/2 (reverse))3C: if M%2 : (cols C/2 to N/2-1, row M/2) & (cols N-C/2-1 to N-N/2 (reverse), row M/2)3D: if M%2 & N%2: average of 3B & 3C at (col N/2, row M/2)Class Support-------------uint8, int8, uint16, int16, uint32, int32, uint64, int64, float, doublePeter Cook 2019

彼得•库克 //www.tianjin-qmedu.com/matlabcentral/profile/1035009-peter-cook
71503年 2019 - 05 - 09 - t21:54:35z 2019 - 05 - 09 - t21:54:35z 每一个 每执行一个命令每一个特定时期内

每一个执行一个命令每一个特定时期内这个命令是在某种程度上类似于Linux / unix命令/调度器cron。T =每(延迟,命令)执行命令后给定的延迟,在几秒钟内。延迟必须是一个数字,在秒。命令可以(见“定时器”文档):“代码”一个字符串(matlab代码),@code (src, evnt…)函数处理参数来源(计时器)和事件类型,和可选的参数。停止执行,使用停止(T)。例子:每个(disp你好)

Emmanuel Farhi //www.tianjin-qmedu.com/matlabcentral/profile/38447-emmanuel-farhi
62409年 2017 - 04 - 04 - t16:14:58z 2017 - 04 - 04 - t16:14:58z 语法和拼写检查 检查拼写和语法的评论

如果你需要在你的代码,或者想发布代码,您可能想要检查你的评论的拼写和语法。复制粘贴并不理想,因为代码很容易错过真正的错误。这个脚本将代码分割成两个文件:一个代码部分和评论部分。后者是改为. txt,这样你就可以在你最喜欢的编辑器中打开它。检查错误的文件之后,它将两部分重新在一起。这个脚本应该在所有Matlab版本和八度。

里克 //www.tianjin-qmedu.com/matlabcentral/profile/3073010-rik
9171年 2016 - 09 - 01 - t15:04:36z 2016 - 09 - 01 - t15:04:36z XML工具MATLAB 6.1 (R12.1) 实现xmlread, xmlwrite R12.1和xslt

xmlread xmlwrite和xslt不是提供了在MATLAB 6.1 (R12.1),但如果你有报告发电机安装你会有“撒克逊人”和“Xerces JAR文件包含XML读/写/转换实现。你所要做的是调用正确的Java方法。附加的文件。

马尔科姆·伍德 //www.tianjin-qmedu.com/matlabcentral/profile/870301-malcolm-wood
9218年 2016 - 03 - 31 - t04:13:44z 2016 - 03 - 31 - t04:13:44z EXPERT1 一个易于使用的推理引擎用于小型专家系统和嵌入复杂的条件……

一个易于使用的推理引擎用于小型专家系统和嵌入复杂的条件语句。规则是写在一个结构(每条规则的一个字段)使用一个通用格式容易获得从“如果然后呢?如规则。“如果鸟~苍蝇和游泳然后企鹅”是输入asrules。r1 ={' ~鸟‘苍蝇吗?“~游泳吗?“企鹅吗?}(这是每个术语的合取范式(命题)的转换规则是分开的”或“操作符,和每个规则的”和“操作符。任何逻辑条件可以转化成这种形式)数据输入作为第二struct e.g.data.penguin = false;data.bird = true;数据。swims=trueDeduction is done as: results=deduce(rules,data)Both data and results can be printed e.g.:printdata(results)A meaning struct can be created for propositions (in data & results):info.penguin='The animal is a penguin?; info.bird=?The animal is a bird'and used with printdata e.g. printdata(data,info)Rules can be constructed using classical logic, but deduction is done using a two variable logic that includes unknown, partly true, partly false, and if you get it wrong inconsistent, as well as the ordinary true and false. Logic is implemented as "min" for "and" and "max" for "or", which avoids problems with redundant rules and allows efficient simple deductions.Results give what is known about a proposition as %true and %false. So true is 100% true and 0 %false, while false is 0% true and 100% false. Data can be entered in this format also e.g. data.flies=[50 0].Deduction is carried out using a more efficient numerical internal format, that can be used in place of the above structs for repeated use of large rule sets e.g.[r,names]=cnvtrules(rules);d=cnvtdata(data,names);d1=deduce(r,d);results=cnvtd(d1,names)Let me know if you find this useful, or are interested in getting extensions to it: W.Whiten@uq.edu.au

比尔美白 //www.tianjin-qmedu.com/matlabcentral/profile/2041667-bill-whiten
50554年 2015 - 12 - 07 - t20:06:53z 2015 - 12 - 07 - t20:06:53z okomarov / TidyCode 提高你的代码的可读性和保持房间整洁

MATLAB编程工具来保证您的代码可读性更强,聪明eccessive空格缩进和自由。内容:*为(),从而提高代码的可读性调整的赋值运算符的代码块(见下图)* smartIndent()应用智能缩进以编程方式。看到ufficial TMW博客支持的模式。万博1manbetx一个快速概述证明,看到gif。

奥列格•科马罗夫 //www.tianjin-qmedu.com/matlabcentral/profile/1886545-oleg-komarov
47858年 2014 - 09 - 16 - t21:01:58z 2014 - 09 - 16 - t21:01:58z wmicGet 得到与WMIC Windows上的计算机和操作系统信息

wmicGet返回计算机和操作系统Windows平台上的信息。wmicGet是一个包装器函数,调用Windows管理规范的命令行(WMIC)。wmicGet也可以使用“,”条款WQL syntaxe执行更高级的查询。例子:信息= wmicGet (cpu);信息= wmicGet (win32_logicaldisk,{“的DeviceID”“FreeSpace”“大小”},…“地方”,{“的DeviceID“C:”真的;'或' '的DeviceID ' ' D:“真})看到wmicGet。m头更多的例子和微软文档的链接。

杰罗姆Briot //www.tianjin-qmedu.com/matlabcentral/profile/492531-jerome-briot
30957年 2011 - 04 - 03 - t11:41:12z 2011 - 04 - 03 - t11:41:12z Matlab壳 Bash shell脚本从命令行执行Matlab。用于使用脚本。

非常简单的Bash shell脚本执行Matlab清洁的方式从命令行。这个脚本的用途从让文件在使用Matlab调用Matlab代码生成。图形输出到屏幕上的压制,不过仍然可以生成图形图像。一个m文件中的错误执行返回一个错误的脚本并创建一个日志文件。

道格·哈里曼 //www.tianjin-qmedu.com/matlabcentral/profile/2428485-doug-harriman
6315年 2010 - 11 - 08 - t10:35:41z 2010 - 11 - 08 - t10:35:41z hexdump——二进制文件浏览器 一个GUI文件探索:检查字节地址,十六进制/字符值。

这个GUI显示十六进制和字符表示二进制文件的内容。文件的字节分为16字节,和值配对成2字节的话。一个可选的输出参数转储内容MATLAB字符数组,绕过GUI。这是类似Emacs hexl-mode。

杰夫·马瑟 //www.tianjin-qmedu.com/matlabcentral/profile/869511-jeff-mather
27883年 2010 - 06 - 11 - t13:04:29z 2010 - 06 - 11 - t13:04:29z 系统资源监控Windows 一个GUI用于监测和记录系统资源(内存、CPU使用)

这是一个GUI包装我的“Windows系统信息类”。这一持续运行和记录你的机器资源(DB内存,CPU使用率%)所使用的当前MATLAB。你可以使用MATLAB的GUI来验证内存分配。exampledata = 0 (1 e7, 1);%增加内存usagedata = 0 (1) e7, 1);%没有内存使用量changedata =数据* 2;%没有内存使用量changedata2 =数据* 2;%增加内存usageto看到CPU使用量变化,试试for循环:-)

赵新 //www.tianjin-qmedu.com/matlabcentral/profile/522073-xin-zhao
12063年 2006 - 08 - 29 - t14:34:41z 2006 - 08 - 29 - t14:34:41z 序列化 从一个变量创建matlab代码

matcode =序列化(x)生成matlab代码xmatcode =序列化x (x, n)生成matlab代码保留n digitsof precisionSERIALIZE应该能够创建matlab代码下面的数据类型:-矩阵,向量,和标量任何类和维度-弦结构体,结构体数组与六维-细胞阵列matlab与拷贝构造函数对象——空值的任何类——任何组合实现hereofThe x的值可以通过eval (matcode)例子x = [1 2 3;3 4 5];序列化(x) x = uint8(兰德(10)* 5);matcode =序列化(x) x ={兰德(3,3,3,4),“字符串值”,{1 2 3;1 3 3}}matcode =序列化(x, 30)

Jøger Hansegard //www.tianjin-qmedu.com/matlabcentral/profile/260765-joger-hansegard
69031年 2022 - 03 - 25 - t14:03:51z 2022 - 03 - 25 - t14:03:51z 万博1manbetx仿真软件拼写检查工具 有助于检查拼写在仿真软件模型中使用Microsoft ActiveX控件。万博1manbetx

拼写检查工具使用仿真软件中的模型。万博1manbetx请将整个文件夹添加到比发射仿真软件MATLAB路径。万博1manbetx如果仿真软件已万博1manbetx经启动之后添加这个工具MATLAB路径,输入“祝辞祝辞在MATLAB命令窗口sl_refresh_customizations”。在仿真软件模型窗口,工万博1manbetx具(“解释清楚”)可以调用通过右击上下文菜单或从“文件”菜单。由:Sysenso系统https://sysenso.com/Contact:contactus@sysenso.com

Sysenso系统 //www.tianjin-qmedu.com/matlabcentral/profile/1085326-sysenso-systems
70023年 2020 - 11 - 18 - t08:06:38z 2020 - 11 - 18 - t08:06:38z ZYbus Zbus和Ybus电力系统使用直接法

Zbus和Ybus电力系统使用直接法

阿明Gholizad //www.tianjin-qmedu.com/matlabcentral/profile/5081029-amin-gholizad
73542年 2020 - 05 - 14 - t08:44:55z 2020 - 05 - 14 - t08:44:55z tgprintf 从MATLAB电报机器人发送一条消息

TGPRINTF发送消息的电报机器人MATLABUse TGPRINTF()相同的方式sprintf ()。

jacobian1128 //www.tianjin-qmedu.com/matlabcentral/profile/4365073-jacobian1128
3162年 2019 - 12 - 04 - t21:18:03z 2019 - 12 - 04 - t21:18:03z 有用的图管理实用工具 简单的工具来管理群的定位在MATLAB屏幕图窗口。

这个包包含3微不足道的图我的生活不能没有管理实用工具:SHOWMETHEFIGS允许用户周期之间的所有数据按当前keyFIGSHIFT瀑布图窗口离开之前figureFILLSCREEN设定图大小完全填满屏幕。注意:有一个更好的版本内置自R2018a MATLAB。只是设置WindowState属性“最大化”

米歇尔·赫希 //www.tianjin-qmedu.com/matlabcentral/profile/869375-michelle-hirsch
72968年 2019 - 10 - 10 - t16:37:05z 2019 - 10 - 10 - t16:37:05z MATLAB_Utilities 这个回购包含应用MATLAB编写的小程序

这个小函数列出所有孩子在父文件夹文件夹和文件。这个应用程序还生成图文件夹嵌套和一个. txt文件和所有的细节在嵌套文件夹。请仔细看看txt和png文件的更多细节。

(kunal //www.tianjin-qmedu.com/matlabcentral/profile/5337519-kunal
69276年 2018 - 11 - 25 - t11:25:40z 2018 - 11 - 25 - t11:25:40z CommandChainer 上链接的工具命令对象或结构在一行。在一个匿名函数方便运行多个业务

CommandChainer包装对象(结构/类)允许链接commandsThis小工具可以方便地链接多个命令在一行代码(谁在乎呢?认为匿名函数…)使用男星生成CommandChainer对象包装器:cc = CommandChainer(对象/结构)使用的一组函数设置字段或属性和进一步命令:cc cc。集(道具/字段名,值)或一组(cc、道具/字段名的值)使用执行函数来执行一个函数的包装对象和进一步命令cc: cc。execute(函数名,__arg1、最长,长度,…)或执行(cc,函数名,__arg1、最长,长度,…)*函数参数optionaluse包装的调用函数来调用一个函数对象,返回的参数:[着干活,out2, out3,…)= cc.invoke(函数名,__arg1、最长,长度,…)或(着干活,out2, out3,…]=调用(cc,函数名,__arg1、最长,长度,…),在/参数是可选的,但如果你没有参数,这种方法真的无关……使用get函数返回一个特定属性的值:从= cc.get(“道具”/字段名)或出去= (cc,道具/字段名)使用执行函数结合结果/ resultCell房地产中使用一个匿名functionresult属性返回第一个参数的最后一个执行functionresultCell属性返回一个单元阵列,其中包含所有最后执行函数的输出参数*显然没有记录在Matlab方法链接,并在将来的版本中可能会破坏* R2017b可以声明一个匿名函数与链接命令只要链以属性而不是functionout1 = CommandChainer (obj)。集(prop1, val1)。集(,' prop2 val2)。execute (foo1, __arg1、最长长度)。结果[着干活,out2, out3,…]= CommandChainer (obj)。集(prop1, val1)。集(,' prop2 val2)。execute (foo1, __arg1、最长长度)。resultCellnow我们可以这样做:[着干活,out2, out3,…]= CommandChainer (obj)。集(prop1, val1)。set(, 'prop2', val2).execute('foo1', arg1, arg2, arg3).invoke('foo2', arg1, arg2, arg3)or[out1, out2, out3, ...] = invoke(execute(set(set(CommandChainer(obj), 'prop1', val1), 'prop2', val2), 'foo1', arg1, arg2, arg3), 'foo2', arg1, arg2, arg3) Using function notation instead of dot indexing is documented and can be used in an anonymous function like that:foo = @(x) invoke(execute(set(execute(set(set(CommandChainer(x), 'prop1', value1), 'prop2', value2), 'foo', arg1, arg2, arg3), 'prop3', value3), 'foo2', arg), 'doSomething');[out1, out2, out3, ...] = foo(obj);

的大作 //www.tianjin-qmedu.com/matlabcentral/profile/8508661-tada
67911年 2018 - 07 - 02 - t15:09:47z 2018 - 07 - 02 - t15:09:47z ensureStructsAssignable(目的地,来源) 确保两个结构体是下标赋值兼容

如果你想做structA (2) = structB,你可能会得到一个错误说“下标赋值不同结构之间”。This function makes the two structures have the same structure by adding extra fields to make them assignable. Missing fields will be assigned 'nan'.

桑杰马诺 //www.tianjin-qmedu.com/matlabcentral/profile/1857735-sanjay-manohar
67243年 2018 - 05 - 06 - t22:23:08z 2018 - 05 - 06 - t22:23:08z 励志名言,发送你的朋友 你想支持你的朋友当他们不靠近?万博1manbetx使用这个脚本,向他们展示你的爱。

设置一个邮件服务器,读取从网上报价并发送随机样本的这些邮件地址的列表。

sloppydisk //www.tianjin-qmedu.com/matlabcentral/profile/4599986-sloppydisk
66692年 2018 - 04 - 06 - t03:43:42z 2018 - 04 - 06 - t03:43:42z GetNumsInAsciiFile (sFName变长度输入宗量) 读取数据从一个ASCII文件,不顾一切。

调用这个函数的名字与一个文本文件,然后返回一个向量的数字中找到该文件。这可以用于从文件读取的数字变量行格式。使用重塑(outNums, k,[])”来更改GetNumsInAsciiFile输出向量为一个二维数组,当读取文本文件与k数字在每一行。

杰夫•米勒 //www.tianjin-qmedu.com/matlabcentral/profile/3203784-jeff-miller
64904年 2017 - 10 - 31 - t20:35:42z 2017 - 10 - 31 - t20:35:42z aurooj / utility-matlab-functions 这个回购包含函数可以使用计算机视觉相关基本任务或一般。

这个库包含函数我写重用一些基本任务与计算机视觉或一般可以使用。

艾莎 //www.tianjin-qmedu.com/matlabcentral/profile/3763554-aisha
62969年 2017 - 05 - 16 - t14:15:32z 2017 - 05 - 16 - t14:15:32z dbstopif(条件) dbstopif是建在更快的替代条件断点

在处理长循环的处理可能需要设置一个断点停止在一个特定的条件。而Matlab的建在条件断点实现这一目标,他们的沉重的性能损失(即使残疾!),而不是一般之间保持会话。dbstopif插入的一行代码,如果条件为真,集普通断点第二线,导致立即dbstop。比较多的时间来执行一个循环迭代:Matlab条件断点启用:运行时间是34.412000秒。dbstopif:运行时间是0.004994秒。禁用:Matlab条件断点禁用:运行时间是51.132263秒。dbstopif:运行时间是0.004941秒。Matlab条件断点删除:运行时间是0.004422秒。dbstopif:运行时间是0.004628秒。

丹·K。 //www.tianjin-qmedu.com/matlabcentral/profile/7840451-dan-k
61232年 2017 - 04 - 13 - t08:40:56z 2017 - 04 - 13 - t08:40:56z r0oland /在激励我 在命令行显示一个随机的励志名言来激励你的工蜂。

打印励志名言,Matlab命令行来激发你的工蜂!

约翰内斯Rebling //www.tianjin-qmedu.com/matlabcentral/profile/7215042-johannes-rebling
62536年 2017 - 04 - 12 - t20:32:24z 2017 - 04 - 12 - t20:32:24z 报价 提供了一个随机的报价

不是说得多

威廉Harwin //www.tianjin-qmedu.com/matlabcentral/profile/80893-william-harwin
10895年 2016 - 09 - 01 - t15:05:02z 2016 - 09 - 01 - t15:05:02z 集群设置脚本 Shell脚本可以轻松地控制一个MATLAB分布计算集群

这些脚本做什么?= = = = = = = = = = = = = = = = = = = = = = = = =这些Bourne shell脚本允许你控制一个MATLAB分发Computingcluster(版本2)很容易。使用它们,遵循以下步骤:步骤1:配置ssh = = = = = = = = = = = = = = = = = = = = =使用这些脚本,第一设置ssh密码免费使用所选下分布式计算Enginedaemons (mdce)运行。有很多教程如何thison互联网。但是这里有一些简短的步骤:(1)运行ssh - keygen - t dsa生成文件。non-emptypassphrase如果你选择,你可以使用ssh-agent和ssh-add生活easierlater。id_dsa(2)复制到新生成的文件。酒吧mdce的. ssh目录用户在远程机器上,将文件重命名为“authorized_keys”第二步:编辑配置文件= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =然后,编辑以下文件:(1)matlabroot(2)模式(3)hostsMore细节为每个反过来:(1)matlabrootThis必须包含MATLAB安装的根目录鱼类集群节点。它必须是相同的所有节点使用thesescripts。例如:猫matlabroot美元/ usr /地方/ matlab (2) modeThis必须包含字符串“同步”或“异步”的字符串。如果是前者,那么命令执行thescripts synchonously,或在一个队列,每个开始只有当上次回来了。 If the latter, then commands are executed bythe scripts asynchonrously, or simultaneously, with them all runningin the background at the same time. However, the scripts wait untilthey have all finished before returning.The latter mode is faster, but it is easier to see what the scriptsare doing when run in the former mode.(3) hostsThis the main configuration file for the cluster. It is easiest to seewhat is going on with an example:$ cat hostsMDCE hosts Job Managers Workersmachine1jm1 jm1,jm1machine2- -machine3jm2,jm3 -machine4- jm2machine5- jm2,jm3The first column consists of the list of machines which form thecluster.The second column consists of job manager names. In the aboveexample, machine1 will run a job manager called jm1 and machine3 willrun two job managers, called jm2 and jm3. The other machines run nojob managers.The third column defines which workers will run, where they run andto which job managers they will attach. In the example above, twoworker processes will run on machine1 and attach to the job managercalled jm1. On machine4, one worker will run, attached to jm2 andmachine5 will run 2 workers, one attached to jm2 and the otherattached to jm3. Nothing execpt the mdce itself will run on machine2.Any whitespace can separate the columns but an empty entry must be ahyphen "-" as in the example.Step 3: Run the commands========================In the directory /toolbox/distcomp/bin you will find thefollowing commands:mdcestartjobmanager.shstopjobmanager.shstartworker.shstopworker.shIn this package, you will find a "distributed" version of each ofthese, prefixed with a "d". Namely:dmdcedstartjobmanagers.shdstopjobmanagers.shdstartworkers.shdstopworkers.shEach of these commands can accept the same command-line arguments astheir non-distributed counterparts, with expection of those that aredefined by the hosts file. These are:For dstartjobmanagers.sh and dstopjobmanagers.sh, -name and -remotehost.For dstartworkers.sh and dstopworkers.sh, -name, -jobmanager,-jobmanagerhost and -remotehost.To bring up a cluster typical usage might be as follows (output suppressed):$./dmdce start$./dstartjobmanagers.sh -clean$./dstartworkers.shand to take down a cluster:$./dstopworkers.sh$./dstopjobmanagers.sh$./dmdce stopalthough just the last line would do the trick. The only other command inthe directory is "dssh" which loops over the list of hosts and runs acommand using ssh on each. The dmdce command uses this to run mdce onremote hosts, as did the other commands before the -remotehost optionbecame available. A nice way of checking that your ssh is configuredproperly is to run something like: $./dssh hostnameAnother use of ./dssh would be to blow away all the checkpointhistory, usually in /var/lib/mdce:$./dssh rm -rf /var/lib/mdce----------------------------------------------------------------------Version 1.1, 2006-04-27Please send bug reports to jos.martin@mathworks.co.uk

乔斯马丁 //www.tianjin-qmedu.com/matlabcentral/profile/1141841-jos-martin
58313年 2016 - 08 - 12 - t11:50:20z 2016 - 08 - 12 - t11:50:20z 莎士比亚的名言 生成随机莎士比亚引用

函数生成一个随机选择的莎士比亚引用。建议使用:添加函数调用秘密同事的启动。在工作目录中m文件。图片来源:https://www.flickr.com/photos/cornie/1596598696

汉斯·Mogensen //www.tianjin-qmedu.com/matlabcentral/profile/4162934-hannes-mogensen
57870年 2016 - 06 - 27 - t15:38:07z 2016 - 06 - 27 - t15:38:07z Matlab程序在Unix平台 指导开发数据处理软件包使用Matlab和shell脚本

数据处理是许多科学研究的一个重要步骤。类型和大小的数据以及处理的类型可以确定处理方法。根据数据的类型和处理,我们可能需要几个步骤处理数据的一个项目。同时,我们可能需要改变一个参数和多次重复处理。写下的处理步骤是一个很好的实践,避免混淆,跟踪处理,并能够返回,寻找可能的错误的错误的结果。然而,由于它不是自动的,你可能无意中跳过一个步骤的处理或忘了适当的文档。这个包是一个指南来帮助用户将他们的项目转化为可再生的研究(或项目)使用Matlab和shell脚本。

Naeem Khoshnevis //www.tianjin-qmedu.com/matlabcentral/profile/4799507-naeem-khoshnevis
7150年 2016 - 05 - 19 - t15:38:17z 2016 - 05 - 19 - t15:38:17z MPP (Matlab预处理) C程序员可能错过预处理器。这是一个定制的MATLAB。

如果第一或主MATLAB编程语言,你可能永远不会错过预处理器。但是如果你有被吸引到MATLAB从C编程背景的你可能会想在MATLAB的预处理程序。MATLAB没有附带一个。MPP旨在填补这一空白。真的,你可以使用你喜欢的C预处理器在MATLAB代码,但你会发现,有很多原因不方便。例如,C预处理器没有努力保留行号,所以当MATLAB在# n行报告错误,你不知道去哪里在你的源文件来解决这个问题。MPP另一方面,保护行号,也有许多其他特性根据MATLAB程序员的需求。给出一个例子来展示如何使用MPP MatLab GUI应用程序可读性更强,更容易修改。MPP并不局限于任何特定的MATLAB版本。它将工作顺利,3.0版,因为它将为7.0。提供一个可执行的Microsoft Windows环境和一些风格的Unix。 If I don't have the executable for your target, it is easy to compile it yourself since the complete source code for MPP is included. Of course you are welcome to modify MPP if doesn't work the way you would prefer.

保罗Mennen //www.tianjin-qmedu.com/matlabcentral/profile/869812-paul-mennen
55284年 2016 - 02 - 07 - t04:50:10z 2016 - 02 - 07 - t04:50:10z mcandre / dotsecrets 发现隐藏的打印机点编码

dotsecret。m生成一个面具高亮显示在打印机点代码出现在打印页面。

安德鲁Pennebaker //www.tianjin-qmedu.com/matlabcentral/profile/7630824-andrew-pennebaker
54167年 2015 - 11 - 25 - t05:11:03z 2015 - 11 - 25 - t05:11:03z DevinCharles / utilityFunctions 一些有用的Matlab效用函数。

Matlab效用函数

德文·普雷斯科特 //www.tianjin-qmedu.com/matlabcentral/profile/4000825-devin-prescott
53445年 2015 - 10 - 10 - t06:26:35z 2015 - 10 - 10 - t06:26:35z Expert2命题逻辑 一个推理引擎用于小型专家系统和复杂的条件语句。

更新expert1, 2015-10-08 BSD许可,额外的功能扩展规则和另一种演绎的功能。规则是写在一个结构(每条规则的一个字段)使用一个通用格式容易获得如“如果然后”规则。“如果鸟~苍蝇和游泳然后企鹅”是输入asrules。r1 ={~鸟的“苍蝇”“~游”“企鹅”}(这是每个术语的合取范式(命题)的转换规则是分开的”或“操作符,和每个规则”和“操作符。任何逻辑条件可以转化成这种形式)数据输入作为第二struct e.g.data.penguin = false;data.bird = true;数据。= = trueDeduction是:游泳结果推断(规则、数据)数据和结果可以打印例如:printdata(数据);printdata(结果)命题的意义可以创建结构体名称:信息。企鹅=“动物是企鹅”;信息。鸟= '动物是一只鸟的神经末梢使用printdata如printdata(数据、信息)规则可以使用古典构造逻辑,但扣除使用两个变量逻辑,包括未知,部分正确,部分错误的,如果你把它错误的不一致,以及普通的真与假。 Logic is implemented as "min" for "and" and "max" for "or", which avoids problems with redundant rules and allows efficient simple deductions.The function rulecomplete searches for additional rules that allow additional deductions to be made by the deduction code.Results give what is known about a proposition as %true and %false. So true is 100% true and 0 %false, while false is 0% true and 100% false. Data can be entered in this format also e.g. data.flies=[50 0].Deduction is carried out using a more efficient numerical internal format, that can be used in place of the above structs for repeated use of large rule sets e.g.[r,names]=cnvtrules(rules);d=cnvtdata(data,names);d1=deduce(r,d);results=cnvtd(d1,names)The file demo1 contains a simple example. The matlab command “doc contents" brings up the contents file and allows access to the individual help files for each function.Also “doc filename” % to get more information on individual filesA Simple Algorith for Deduction, Bill Whiten, The ANZIAM Journal , Volume 51 , Issue 01 , Jul 2009 , pp 102-122 doi: 10.1017/S1446181109000352

比尔美白 //www.tianjin-qmedu.com/matlabcentral/profile/2041667-bill-whiten
49933年 2015 - 03 - 05 - t23:28:46z 2015 - 03 - 05 - t23:28:46z Matlab效用函数生成的莫尔斯。从数据库垫” Matlab效用函数生成的莫尔斯。从数据库垫”

请参考附件文档

Siamak Mohebbi //www.tianjin-qmedu.com/matlabcentral/profile/105759-siamak-mohebbi
48934年 2015 - 01 - 04 - t11:56:14z 2015 - 01 - 04 - t11:56:14z Bash脚本编制MATLAB代码在每个目录 迭代matlab编译器:这Bash脚本编制matlab代码在每个目录

这是一个迭代的matlab编译器:这有一个shell脚本编制matlab代码在每个目录在当前工作目录中。MATLAB的路径C编译器可能需要被改变。

Banerjee Soumya博士 //www.tianjin-qmedu.com/matlabcentral/profile/2984868-dr-soumya-banerjee
48771年 2014 - 12 - 17 - t08:14:03z 2014 - 12 - 17 - t08:14:03z 最初的承诺 启动实施

启动图像处理项目提交

尼克Cleintuar //www.tianjin-qmedu.com/matlabcentral/profile/5582300-nick-cleintuar
48088年 2014 - 12 - 11 - t08:43:50z 2014 - 12 - 11 - t08:43:50z DOS在翻译 好的执行DOS命令并返回输出字符编码

系统语言设置,dos功能编码不正常输出字符串。例如,误解与法国accentued字符设置。dosWithCharEncod模仿dos功能但返回输出字符串的字符编码。例如:在祝辞命令=['树' fullfile (matlabroot,“本”),'“']的在比;[地位,cmdout] = dos(命令,“回声”);结构du档案Le num de s‚‚ro rie du体积est D0DB-13B6 C: \ MATLAB \ R2014A \ BIN AAAAm3iregistry AAAAregistry AAAAutil³AAAAmex AAAAwin64 AAAAaccessible AAAAcodecs AAAAgraphicssystems AAAAiconengines AAAAimageformats AAAAmexopts³AAAAcompilerComponents AAAAosgPlugins-3.0.1 AAAAvc90祝辞祝辞[地位,cmdout] = dosWithCharEncod(命令,“回声”);结构du dossierLe号德联赛du卷est D0DB-13B6C: \ MATLAB \ R2014A \ BIN├───m3iregistry├───注册├───util│└───墨西哥人└───win64├───访问├───编解码器├───graphicssystems├───iconengines├───imageformats├───mexopts│└───compilerComponents├───osgPlugins-3.0.1└───vc90dosWithCharEncod灵感来源于中给出的解决方案:-万博 尤文图斯http://www.mathworks.de/matlabcentral/newsreader/view_thread/238995-//www.tianjin-qmedu.com/matlabcentral/answers/112639-matlab-recognise-french-character answer_128355

杰罗姆Briot //www.tianjin-qmedu.com/matlabcentral/profile/492531-jerome-briot
47561年 2014 - 08 - 15 - t21:58:21z 2014 - 08 - 15 - t21:58:21z cmd 主机操作系统上执行一个命令指定的超时

cmd -主机操作系统上执行一个命令这个函数非常类似于Matlab的内装式系统功能异常,它为用户提供了一种方法来指定超时时间(秒)之后,将误差函数。例如,下面的平不可用IP地址可能需要几分钟才能完成,但我们可以使它超时5秒内如果没有响应状态= cmd (ping - n 1 255.0.0.0, 5);显然,许多操作系统命令(如萍)有一个超时参数,但这个函数允许用户不用担心这些command-specific参数和一致的方式为外部命令指定一个超时值。用法:[状态、stdout stderr] = cmd(命令,*超时)输入:命令:字符串,命令由主机操作系统评价超时:整数,(可选)的秒数等过程完成。值为0或正表明没有超时(缺省值= 0)输出;状态:整数,退出代码返回的过程。典型值0表示流程完毕,没有错误而非零值表示某种类型的错误。stdout:字符串,输出过程打印到标准输出。stderr:字符串,输出输出到标准错误缓冲过程。可以使用的一个非零返回代码来确定什么类型的错误发生。参见系统,UNIX, DOS

乔纳森Suever //www.tianjin-qmedu.com/matlabcentral/profile/951807-jonathan-suever
3431年 2013 - 09 - 03 - t16:54:14z 2013 - 09 - 03 - t16:54:14z 命名数据(fig.m) 创建新的数据窗口标题可以用作处理。

这个函数就像图在MATLAB命令除了工作你引用数据的名称而不是图处理。(你仍然可以使用句柄)H =无花果(“我的图”)的窗口的标题图现在将“我的图”。你也可以设置图属性相同的叫:无花果(“我的图”、“渲染”,“opengl”),它还将把图窗口监控与当前鼠标位置。

Aslak Grinsted //www.tianjin-qmedu.com/matlabcentral/profile/870202-aslak-grinsted
41291年 2013 - 04 - 14 - t19:27:12z 2013 - 04 - 14 - t19:27:12z 在Matlab CRC-CCITT 计算CRC-CCITT字节(16位)的消息这是一个字节数组。

计算CRC-CCITT(16位)字节的消息这是一个字节数组。相关的多项式函数:CRC-CCITT: 0 x1021x16 + x12 + x5 + 1

哈桑Mohammadi-Abdar //www.tianjin-qmedu.com/matlabcentral/profile/3159002-hassan-mohammadi-abdar
39876年 2013 - 01 - 16 t21:24:11z 2013 - 01 - 16 t21:24:11z 我直接启动 我直接启动

我直接启动

Mocanu安德烈 //www.tianjin-qmedu.com/matlabcentral/profile/3521407-mocanu-andrei
34762年 2012 - 01 - 25 - t04:59:00z 2012 - 01 - 25 - t04:59:00z 复制/克隆方法处理和hgsetget类 使深复制子对象的类处理或hgsetget

小姐处理或hgsetget类方法进行深拷贝的对象。两类“handleplus”和“hgsetgetplus”照顾。使用这些类,…——简单地说他们在Matlab路径。- in classdef-files change instances of "classdef MyClass < handle" (or hgsetget)to "classdef MyClass < handleplus" (or hgsetgetplus)Suppose you have defined a "MyClass" as child of "handleplus". Deep copies are now created as follows:>> OBJ = MyClass;>> OBJ_new = OBJ.copy;Some short notes:- This implementation (hopefully) also handles deep copying of inherited private or protected properties (s. discussion "Clone Handle Object - using MATLAB OOP" -> link in acknowledgments).- It handles properties, which contain handle-objects- It does not handle cyclic references (s. mathforum.org/kb/message.jspa?messageID=7629086&tstart=0)Please read the help for these files for more details and report any bugs.CheersSebastian

塞巴斯蒂安·霍尔兹 //www.tianjin-qmedu.com/matlabcentral/profile/870268-sebastian-holz
32224年 2011 - 07 - 14 - t13:27:25z 2011 - 07 - 14 - t13:27:25z 工作空间变量在函数 多个变量读入一个函数和保存这些变量在一个循环中

问题定义:这段代码是帮助初学者理解阅读多个变量成一个函数和存储在一个循环中不使用eval函数。这是更多的教程比一个特定的代码。我有多个变量(X1, X2, X3,…, X10)存储在一个垫子文件,即WS1。垫,读到一个函数即myfunc和表达式计算后,我想将它们存储在独立变量,(A1, A2, A3,…, A10)。我想要这些变量存储在“基地”工作空间,而不是函数的工作区

莫特 //www.tianjin-qmedu.com/matlabcentral/profile/1758536-mert