![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/16207166_1568235471244_DEF.jpg)
Greylyn Gao
Followers: 0 Following: 0
Statistica
2 Domande
0 Risposte
RANK
92.721
of 292.877
REPUTAZIONE
0
CONTRIBUTI
2 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.0%
VOTI RICEVUTI
0
RANK
of 148.081
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
Why am I getting an NaN value for my array?
n5 = [-5:5]; y0 = abs(Dn2f(0)) ys = abs(Dn2f(n5)) function Dn = Dn2f(n) if n == 0 Dn = 1/2; else ...
oltre 2 anni fa | 1 risposta | 0
1
rispostaDomanda
Why does my function return a single value instead of an array? I need it to return an array so I can plot it.
%A.3 Dn2 = @(n) (1-exp(-j*pi*n/2))/(j*pi*n); n5 = [-5:5]; Y=Dn2(n5)
oltre 2 anni fa | 1 risposta | 0