-
onoff
f the input is a numeric array, it returns a cell array of strings of on or off depending on the logical outcome.
Conversely, if the input is a cell array of strings of on or off , then it does the reverse, i.e. returns the logical matrix where on is true and off is false.
It is very useful when using set/get on arrays of handle objects or arrays of properties/values.
Example:
onoff( [0, 1, 0]) gives { off , on , off }
onoff({ on , on , off }) gives [1, 1, 0]
It also works for mixed cell array inputs, and for other string pairs:
yes/no, ok/cancel, open/closed
- 2009-09-07 18:18:36下载
- 积分:1
-
matlab7.x
说明: 《精通MATLAB7.0混合编程》系统地介绍MATLAB 7.0的混合编程方法和技巧。全书共分为13章。第1章和第2章介绍MATLAB的基础知识,第3章简要介绍MATLAB混合编程,第4章至第9章分别介绍几种典型的混合编程方法,包括C-MEX、MATLAB引擎、MAT数据文件共享、Mideva、Matrix和Add-in。第10章、第11章介绍MATLAB与Delphi和Excel的混合编程。第12章介绍MATLAB COM Builder,第13章以图像处理为例介绍了一个综合应用实例。
本书按混合编程的具体方法进行逻辑编排,自始至终用实例描述,每章着重阐述各种混合编程方法的实质和要点,同时穿插了作者多年使用MATLAB的经验和体会。本书既适合初学者自学,也适用于高级MATLAB用户,可作为高等数学、计算机、电子工程、数值分析、信息工程等课程的教学参考书,也可供上述领域的科研工作者参考。
这里是本书所有源码压缩包,内容详尽、实例丰富,包含MATLAB实例的源文件、函数/命令和注解以及程序实例。 ("proficient MATLAB7 mixed programming" system introduced in MATLAB 7.0 Mixed Programming methods and techniques. The book is divided into 13 chapters. Chapter 1 and Chapter 2 on the basis of knowledge MATLAB, Chapter 3 briefed Matlab. Chapter 4-Chapter 9, respectively introduced several typical mixed programming, including C-MEX, MATLAB engine, MAT data file sharing, Mideva, Matrix and the Add-in. Chapter 10, Chapter 11 and Delphi on MATLAB and Excel hybrid programming. Chapter 12 on MATLAB COM Builder, chapter 13 for image processing as an example of a composite application. The book by the mixed programming methods for the specific logic layout description throughout example, Each chapter focuses on a combination of programming and real elements, while full of the author's )
- 2006-04-20 14:21:52下载
- 积分:1
-
equalizersy
it s about equalizer and filter. The document is written in Indonesian and it s a report from the practical work
- 2011-09-12 21:20:42下载
- 积分:1
-
Matlab_1
matlab basic exercise in korean
- 2011-11-10 20:27:54下载
- 积分:1
-
dat
在matlab中,将数据以矩阵形式存储进dat文件中(In matlab, the data is stored in the form of a matrix dat file)
- 2013-08-31 12:44:32下载
- 积分:1
-
nixujianyan
用MATLAB语言编写的逆序检验法检验序列是否平稳(use a mathod to detect if the seriers is smooth)
- 2021-03-23 21:19:15下载
- 积分:1
-
matlabtextbook
matlab基础教程电子书,初学者的入门资料(- matlab basic tutorial e-book, introductory information for beginners)
- 2012-11-10 10:10:00下载
- 积分:1
-
synmachine
simulation of machine synchrone
- 2013-10-02 05:15:30下载
- 积分:1
-
the-control-of-a-rocket
一个火箭轨道控制程序,利用模态综合法降阶后,对火箭发射过程的振动模态进行观测和控制(A rocket orbit control procedures, the use of reduced-order modal synthesis method, the process of rocket vibration mode for observation and control)
- 2020-11-03 20:09:52下载
- 积分:1
-
kmeansaa
此计划获得的图像和desidered一些分区和认定的手段的不同类别,并提供clasified形象(This program gets an image and the desidered number of partitions and finds the means of the different classes and provides a clasified image
)
- 2009-05-06 20:31:47下载
- 积分:1