How can I represent this equation on MATLAB

How can I represent this equation on MATLAB
𝑌[𝑛]=3𝑛2−1 𝑤ℎ𝑒𝑟𝑒 −2≤𝑛<3

2 Kommentare

Mahmoud Ashraf
Mahmoud Ashraf am 28 Apr. 2022
Bearbeitet: Mahmoud Ashraf am 28 Apr. 2022
can u rewrite the equation?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Mahmoud Ashraf
Mahmoud Ashraf am 28 Apr. 2022

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by