MATLAB的repmat函数

MATLAB的repmat函数

B = repmat(A,m,n)
B = repmat(A,[m n])
将A矩阵看作元素,复制组成m行n列,即将A复制m*n个
>> A = [1,2;3,4]
A =
1 2
3 4
>> B = repmat(A,2,3)
B =
1 2  1 2  1 2
3 4  3 4  3 4
1 2  1 2  1 2
3 4  3 4  3 4
分类: matlab
0
0
<div class="clear"></div>
<div id="post_next_prev">

<a href="https://www.cnblogs.com/litthorse/p/9264964.html" class="p_n_p_prefix">« </a> 上一篇:    <a href="https://www.cnblogs.com/litthorse/p/9264964.html" title="发布于 2018-07-04 19:26">MATLAB将某个矩阵各行打乱</a>
<br>
<a href="https://www.cnblogs.com/litthorse/p/9265746.html" class="p_n_p_prefix">» </a> 下一篇:    <a href="https://www.cnblogs.com/litthorse/p/9265746.html" title="发布于 2018-07-04 22:32">find函数的应用</a>
posted @ 2018-07-04 20:29  Horse-Ma 阅读( 4170) 评论( 0) 编辑 收藏
</div><!--end: topics 文章、评论容器-->
京东云-C1
    <div id="google_ads_iframe_/1090369/C2_0__container__" style="border: 0pt none;"><iframe id="google_ads_iframe_/1090369/C2_0" title="3rd party ad content" name="google_ads_iframe_/1090369/C2_0" scrolling="no" marginwidth="0" marginheight="0" style="border: 0px none; vertical-align: bottom;" srcdoc="" data-google-container-id="2" data-load-complete="true" width="468" height="60" frameborder="0"></iframe></div></div>
</div>
<div id="under_post_kb">
历史上的今天:

2018-07-04 MATLAB将某个矩阵各行打乱


2018-07-04 MATLAB的eval用法


2018-07-04 MATLAB的tabulate用法


2018-07-04 MATLAB的randperm用法

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值