登录
首页 » Matlab » f the input is a numeric array, it returns a cell array of strings of on or off...

f the input is a numeric array, it returns a cell array of strings of on or off...

于 2022-05-10 发布 文件大小:1.57 kB
0 117
下载积分: 2 下载次数: 1

代码说明:

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-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:

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • lab6
    说明:  计算方法的上机编程题计算方法的上机编程题计算方法的上机编程题(Calculation method of calculation on the machine programming problem programming question-on method of calculation-on program title)
    2010-03-24 23:16:59下载
    积分:1
  • Radar
    The following is a list of MATLAB codes which includes the radar absorbing material design, the antenna pattern, the observation points generation, and the amplitude error and phase error calculations.
    2008-11-17 10:36:12下载
    积分:1
  • image-inpainting
    对图像进行修复,直方图均衡化处理,中值滤波和均值滤波(To repair the image, histogram equalization, median filtering and mean filtering)
    2020-07-02 08:40:01下载
    积分:1
  • Houghwithdetail
    使用matlab进行hough变换,细节原码,并有输出显示(Use of matlab hough transform, detail of the original code, and output display)
    2013-09-21 09:05:45下载
    积分:1
  • 8PSK
    通信系统中信号调制技术,采用8PSK对信号进行调制的matlab仿真。(Communication system signal modulation technology, the signal 8PSK modulation matlab simulation.)
    2014-12-25 10:40:35下载
    积分:1
  • NS_SAR_ADC_1order
    基于文章A 90-MS/s 11-MHz-Bandwidth 62-dB SNDR Noise Shaping SAR ADC的基本功能建模,仿真一阶噪声整形的噪声传输函数(Based on the basic function model of article , A 90-MS/s 11-MHz-Bandwidth 62-dB SNDR Noise Shaping SAR ADC , the noise transfer function of first-order noise shaping is simulated.)
    2019-02-20 09:24:48下载
    积分:1
  • Matlab_Colour_Transfer_using_IDT_Pitie07
    进行图像颜色的传输,使源图像变为目标图像颜色(Color image transmission, so that the source image to target image color)
    2009-02-23 18:56:33下载
    积分:1
  • FD
    利用FD方法求解第一类边界条件下的矩形金属槽(FD method for solving the first boundary condition of the rectangular metal trough)
    2012-05-21 16:01:35下载
    积分:1
  • assignment1
    MIT course- Introduction to Matlab assignment 1
    2013-09-18 01:35:59下载
    积分:1
  • embedded-lecture-01
    a good lecture for people who want to start working with embedded systems
    2013-12-12 04:01:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载