How can I represent this equation on MATLAB
1 view (last 30 days)
Show older comments
Ibrahim swidan
on 28 Apr 2022
Commented: Ibrahim swidan
on 30 Apr 2022
How can I represent this equation on MATLAB
𝑌[𝑛]=3𝑛2−1 𝑤ℎ𝑒𝑟𝑒 −2≤𝑛<3
2 Comments
Accepted Answer
Mahmoud Ashraf
on 28 Apr 2022
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
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!