How can I represent this equation on MATLAB

1 visualizzazione (ultimi 30 giorni)
How can I represent this equation on MATLAB
𝑌[𝑛]=3𝑛2−1 𝑤ℎ𝑒𝑟𝑒 −2≤𝑛<3

Risposta accettata

Mahmoud Ashraf
Mahmoud Ashraf il 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

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by