- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
 - 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
 - 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
 - 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
 - 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
 - 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
 - 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
 
                        查看更多
                        
                    
                MATLAB 第次上机实验报告
                                         MATLAB 第五次上机实验报告
Quit 3.3
1题
%calculate x versus y1 and y2
x=0:pi/10:2*pi;
 y1=sin(x);
 y2=cos(2*x);
%plot y1 and y2;
 plot(x,y1,-ro,LineWidth,2,MarkerSize,6,MarkerEdgeColor,b,MarkerFaceColor,b)
 hold on
 plot(x,y2,-ro,LineWidth,2,MarkerSize,6,MarkerEdgeColor,b,MarkerFaceColor,b)
 hold off
 legend(sinx,cosx)
              
2题
 
Write the MATLAB text string that will produce the following expressions 
3题f(x) = sinθ cos2ф
Answer: \it {f}(x)=sin\theta cos2\phi
4题4. Plot of Σx^2 versus x
Answer: plot of \Sigmax^2 versus x
Write the expression produced by the following text sting:
5题
‘\tau\it_{m}’
Answer: 
     
6题
\bf\itx_{1}^{ 2} + x_{2}^{ 2} \rm(units:\bfm^{2}\rm)
Answer: 
       
7题how do you display the backslash(\)character in a text string?
Answer : \\
3.8题
%  theta        -- Angle from microphone axis (radians)
%  g            -- A function of angle
%Calculat g versus angle
theta=-pi/2:pi/20:pi/2;
g=abs(sinc(4*theta));
%plot g
polar(theta,g,b-);
title(\bfAntenna Gain vs \theta)
 
3.11题 
%define variables:
% amp      --Amplitude response
% c        --Capacitance(farads)
% f        --frequency of input signal (Hz)
% phase    --phase response
% r        --resistance(ohms)
% res      --v0/ui
%Initialize r  c
r=16000;     %16 k ohms
c=1e-6;      %1 uf
f=1:2:1000;
%calculate response
res=(j*2*pi*f*r*c)./(1+j*2*pi*f*r*c);
amp=abs(res);
phase=angle(res);
%create plots
subplot(2,1,1);
% Create plots
subplot(2,1,1);
loglog( f, amp );
title(Amplitude Response);
xlabel(Frequency (Hz));
ylabel(Output/Input Ratio);
grid on;
subplot(2,1,2);
semilogx( f, phase );
title(Phase Response);
xlabel(Frequency (Hz));
ylabel(Output-Input Phase (rad));
grid on;
3.12题
%define variables:
% r       --the distance of a point from the origin
%theta    --the angle of one point in radians with respect to the origin
% k       --constant
% calculate response
k=0.5;
theta=0:pi/20:6*pi;
r=k*theta;
%plot r
polar(theta,r)
title(\bfThe Spiral of Archimedes)
 
6.10题
%Define variable
                您可能关注的文档
最近下载
- 《中小学综合实践活动课程指导纲要》教育部2017.docx VIP
 - 水浒传108好汉的绰号名字主要事迹及好句赏析.pdf VIP
 - 2025年度吉林省国资委监管企业集中招考联合(1214人)考试备考试题及答案解析.docx VIP
 - 高中数学《抛物线及其标准方程》导学案教学设计.docx VIP
 - 防烟分区课件.ppt VIP
 - 《中小学综合实践活动课程指导纲要》教育部2025版.docx VIP
 - 强化思想淬炼筑牢信仰之基.pptx VIP
 - 2026年山东省港口集团有限公司应届大学毕业生招聘考试备考试题及答案解析.docx VIP
 - 关于钎探锤击数换算为地基承载力的说明.doc VIP
 - 污水处理池新项目施工组织设计.doc VIP
 
原创力文档
                        

文档评论(0)