1.rar

  • PUDN用户
    了解作者
  • matlab
    开发工具
  • 11KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 2
    下载次数
  • 2014-05-24 11:17
    上传日期
上面的代码实现了一个目的――检查信号imf1(一个向量)是否存在绝对值大于1的点,这显然是基于C++的思想写出来的。如果在matlab下面,其实用两个语句就足够了(当然,可以合并为一个):
1.rar
  • 1.docx
    14KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/622b83f53d2fbb0007a223ab/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/622b83f53d2fbb0007a223ab/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">1.<span class="_ _0"> </span>J = 0;</div><div class="t m0 x1 h3 y3 ff1 fs0 fc0 sc0 ls0 ws0">2.<span class="_ _0"> </span>lt = size(imf1,2);</div><div class="t m0 x1 h3 y4 ff1 fs0 fc0 sc0 ls0 ws0">3.<span class="_ _0"> </span>for (i = 1:lt)</div><div class="t m0 x1 h3 y5 ff1 fs0 fc0 sc0 ls0 ws0">4.<span class="_ _0"> </span>if (abs(imf1(i)) &gt; 1)</div><div class="t m0 x1 h3 y6 ff1 fs0 fc0 sc0 ls0 ws0">5.<span class="_ _0"> </span>J = 1;</div><div class="t m0 x1 h3 y7 ff1 fs0 fc0 sc0 ls0 ws0">6.<span class="_ _0"> </span>break</div><div class="t m0 x1 h3 y8 ff1 fs0 fc0 sc0 ls0 ws0">7.<span class="_ _0"> </span>end</div><div class="t m0 x1 h3 y9 ff1 fs0 fc1 sc0 ls0 ws0">8.<span class="_ _0"> </span>end</div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐