Statistics
2 Questions
0 Answers
RANK
237,462
of 301,973
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 21,476
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 177,809
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
Question
Function outputs NaN for a cell which is assigned a separate value?
I created the following function: function [x] = f(y) x = (y==0).*1+(y~=0).*(1./y); With the following input, it returns th...
5 years ago | 1 answer | 0
1
answerQuestion
Symbolic expression behaves differently when referenced in a for-loop
I defined a function f.m: function [x] = f(y) x = 0; for n = 1:4 x = x + y; end When I enter the command x = f((n==1...
5 years ago | 1 answer | 0

