![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/16207166_1568235471244_DEF.jpg)
Greylyn Gao
Followers: 0 Following: 0
Statistics
2 Questions
0 Answers
RANK
92 721
of 292 877
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 19 953
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 148 075
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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 ...
mer än 2 år ago | 1 answer | 0
1
answerQuestion
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)
mer än 2 år ago | 1 answer | 0