photo

Greylyn Gao


Last seen: 4 years ago Active since 2021

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
103,128
of 301,379

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,244

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 174,273

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

Feeds

View by

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 ...

4 years ago | 1 answer | 0

1

answer

Question


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)

4 years ago | 1 answer | 0

1

answer