Suppose x takes on the values x  1, 1.2, 1.4, . . . , 5. Use MATLAB to compute the array y that results from the function y  7 sin(4x). Use MATLAB to determine how many

14日视图(30天)
假设x的值x = 1, 1.2, 1.4,……5。使用MATLAB计算数组结果函数y = 7罪(4倍)。使用MATLAB来确定有多少元素数组中y和数组中的第三个元素y的值。
1评论
Dyuman Joshi
Dyuman Joshi 2023年3月28日
这看起来像一个作业的问题。告诉我们你已经尝试和回答一个特定问题。
如果你不确定从哪里开始因为你不熟悉如何在MATLAB编写代码,我建议你开始 免费的MATLAB斜坡弯道教程 学习MATLAB的必需品。

登录置评。

接受的答案

Pratheek
Pratheek 2023年3月28日
下面的代码将帮助你做所有你要求的任务的。
x = 1:0.2:5;
y = 7 *罪(4 * x);
num_elements =长度(y);
third_element = y (3);

更多的答案(0)

社区寻宝

找到宝藏在MATLAB中央,发现社区如何帮助你!

开始狩猎!