<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          Matlab繪圖示例

          作者: 時(shí)間:2012-02-11 來源:網(wǎng)絡(luò) 收藏

          繪圖示例

          matlab下繪圖的簡單示例示例一(用plot同時(shí)繪制兩條曲線)x=0:0.01:2*piplot(x,sin(x),'green')hold onplot(x,sin(2*x),'red')示例二(用stem繪制多個(gè)序列)n=0:50; A=444.128;a=50*sqrt(2.0)*pi;T=0.001; w0=50*sqrt(2.0)*pi;x=444.128*exp(-a*n*T).*sin(w0*n*T); X=fft(x);% Draw x,abs(X),angle(X)hold onstem(x)stem(abs(X),'fill','r-.')stem(angle(X),'fill','g-.')示例三(從復(fù)平面看幅頻特性)th = (0:127)/128*2*pi;x = cos(th);y = sin(th);f = abs(fft(ones(10,1),128));stem3(x,y,f','d','fill')view([-65 30])xlabel('Real')ylabel('Imaginary')zlabel('Amplitude')title('Magnitude Frequency Response')rotate3d on


          關(guān)鍵詞: Matlab dsp繪圖

          評論


          相關(guān)推薦

          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();