How can I represent this equation on MATLAB

1 次查看(过去 30 天)
How can I represent this equation on MATLAB
𝑌[𝑛]=3𝑛2−1 𝑤ℎ𝑒𝑟𝑒 −2≤𝑛<3

采纳的回答

Mahmoud Ashraf
Mahmoud Ashraf 2022-4-28
if i read the equation corrently this code with product the value of y in vector
clear all;
clc
for n=-2:3
y(1,n+3)=3*(n^2)-1;
end

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by