皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
下面的MATLAB代码的作用是:对二维坐标点绕原点旋转并使用plot函数进行绘图。绘图的效果如下: 请阅读代码并上机练习验证通过,完成代码填空。 【! 请 创建脚本文件,在脚本里写代码,不要直接在命令行窗口中编写代码!】 %% 列向量坐标形式进行旋转变换 p0 = [2 ; 2]; % p 点旋转前坐标;注意是 列 向量 t = 90; % 逆时针旋转90度 TM = 1; % TM 为2*2的旋转矩阵 p1 = TM*p0; %% 开启添加新绘图时保留当前绘图的功能开关 2 %% 绘制旋转前后两个点 plot(p0(1), p0(2), '.r' , 'MarkerSize' , 18) % 绘制旋转 前 的点(红色、标记大小为18个像素) 3 % 绘制旋转 后 的点( 蓝 色、标记大小为18个像素) %% 绘制从原点到旋转前的点的连线(红色)和从原点到旋转后的点的连线(蓝色) plot([0 p0(1)], [0 p0(2)], '-r' , 4, '-b' ); %% 绘制x,y坐标轴 plot([-5 5], [0 0], '--r' ) % 绘制x坐标轴:从(-5,0)到(5,0)的一条直线段, 红色的 虚线 5 % 绘制y坐标轴:从(0,-5)到(0,5)的一条直线段, 红色的 虚线 axis square % 设置图形的横向和纵向等比例显示
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】"It is difficult to define precisely the meaning of a raised eyebrow in a particular culture." The above expression is to show that nonverbal communication is _____.
A.
less conscious
B.
less systemarized
C.
culture-bound
D.
ambiguous
【单选题】下列关于Web应用软件测试的说法中,正确的是______。 A) 排版结构测试是Web应用软件易用性测试的重要内容 B) 对于数据完整性的测试是Web应用软件业务层测试的重要内容 C) Cookie测试是Web应用软件功能测试的重要内容 D) 对Web应用软件进行系统测试时不必考虑性能测试
A.
B.
C.
D.
【简答题】" Why do some women like to decorate the Christmas tree but dread taking it ____?" “Because it is not easy to take a tree ____. It is sometimes difficult to remove the decorations and often the pine n...
【单选题】在黑茶制造中,儿茶素、蛋白质等物质在()的综合作用下,发生变化而形成的产物可增加香气。
A.
湿热、微生物、机械力及微弱酶促
B.
湿热、微生物
C.
机械力及微弱酶促
D.
湿热、微生物、机械力
【判断题】依据结构素描的造型表现要求,下图圆锥体结构造型表现准确和规范。
A.
正确
B.
错误
【简答题】When a consumer finds that an item she or he bought is faulty or does not【B1】______the manufacturers claim for it, the first step is to present the【B2】______at the store. In most cases, this action wi...
【单选题】Which word means "determination to do sth. even though it is difficult or other poeple oppose it
A.
reaction
B.
persistence
C.
interaction
D.
behaviour
【判断题】"The confusing pursuit of beauty" analyzes the reasons why it is difficult for a man to respond when a woman asks how she looks.
A.
正确
B.
错误
【简答题】If a person gets thirsty, and it is difficult to satisfy his impulse at the moment, he may form a mental image of water, which Freud called ( ) .
【单选题】What is the meaning of "suggest" in "It is difficult to sort out whether job satisfaction causes happiness or vice versa, but evidence suggests that causation flows both ways.
A.
To indicate sth
B.
to put forward sth
C.
to propose sth
D.
to give advice
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题