clauper
Followers: 0 Following: 0
Statistics
RANK
193,365
of 295,673
REPUTATION
0
CONTRIBUTIONS
7 Questions
1 Answer
ANSWER ACCEPTANCE
85.71%
VOTES RECEIVED
0
RANK
of 20,262
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,207
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
compare variable with different data types
I would like to run different lines of code, depending on the value of x. However, x can be string, logical, or numerical. ...
1 year ago | 4 answers | 0
4
answersQuestion
how to determine if vector of row times is within timerange?
I have a vector of row times and a time range: dates = datetime(2000,1,1):calyears(1):datetime(2002,1,1); tr = timerange(datet...
2 years ago | 1 answer | 0
1
answerQuestion
strange error with varfun and anonymous function
The following example: tbl = table(randn(5,1)); func = @(x) cumsum(x); varfun(@func, tbl) gives me the error: Error usi...
2 years ago | 1 answer | 0
1
answerLook up a value in an incomplete list
I figured it out: keys = ["a", "b", "c", "d"]; vals = [3,4,2,1]; x = ["c", "d", "e"]; [~, idx] = ismember(x, keys); k...
3 years ago | 0
Question
Look up a value in an incomplete list
I have keys and values like this: keys = ["a", "b", "c", "d"]; vals = [3,4,2,1]; and I need to look up the values for x, bu...
3 years ago | 3 answers | 0
3
answersQuestion
Are there "pause on error" and "run and time" options when running a live script
When running a *.m file, I have the option to "pause on error" and to "run and time". I cannot find this options when running *....
3 years ago | 1 answer | 0
1
answerQuestion
Calculating group statistics using frequency weights
I have a large table of survey data with about 3 Mio. observations and 120 variables. The survey also contains a variable called...
5 years ago | 1 answer | 0
1
answerQuestion
How do I use splitapply when the applied function has non-scalar output?
I am trying clean variables in a dataset, creating a new table variable, but splitapply does not seam to allow for nonscalar out...
5 years ago | 2 answers | 0