photo

the cyclist


Alden Scientific

Last seen: Today Active since 2011

Followers: 4   Following: 0

Message

Head of Modeling and Statistics at Alden Scientific. Obsessive runner. Professional Interests: Predictive modeling, statistics. (I don't respond to email via author page, but will usually look at a question if you send me a link to it.)

Programming Languages:
Python, R, MATLAB, SQL
Spoken Languages:
English
Pronouns:
He/him

Statistics

All
MATLAB Answers

50 Questions
5,335 Answers

File Exchange

1 File

Cody

24 Problems
303 Solutions

RANK
15
of 300,343

REPUTATION
15,652

CONTRIBUTIONS
50 Questions
5,335 Answers

ANSWER ACCEPTANCE
72.0%

VOTES RECEIVED
2,958

RANK
10,406 of 20,926

REPUTATION
58

AVERAGE RATING
0.00

CONTRIBUTIONS
1 File

DOWNLOADS
1

ALL TIME DOWNLOADS
586

RANK
531
of 168,172

CONTRIBUTIONS
24 Problems
303 Solutions

SCORE
3,493

NUMBER OF BADGES
10

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Treasure Hunt Participant
  • Scavenger Finisher
  • Editor's pick for Answers
  • Master
  • Introduction to MATLAB Master
  • Community Group Solver
  • First Review
  • First Submission
  • Thankful Level 5
  • 36 Month Streak
  • Revival Level 3
  • Knowledgeable Level 5

View badges

Feeds

Answered
The symbol "1" is not a scalar in integral3
Here is one way: integral3(@(x,y,z) ones(size(x)), 0,1,0,1,0,1)

6 days ago | 1

Answered
Data loaded successfully but not showing in workspace
Could it be something related to the scope of the variable? For example, did you load the variables (and run whos) while inside ...

12 days ago | 0

Question


Specifying color as hex works for plot, but not for scatter
I was caught off-guard that specifying color as a hexadecimal value works for plot(), but not for scatter(). It does seem docume...

18 days ago | 1 answer | 0

1

answer

Answered
Logistic regression in MATLAB (without Statistics and Machine Learning Toolbox)
Logistic regression is an algorithm that can definitely be programmed in MATLAB, which is a general-purpose programming language...

2 months ago | 0

Answered
Why the speed of for loop (drawnow) is much slower in R2025a than R2016a?
What is your default figure window style (which you can get with the following command)? get(groot, "defaultFigureWindowStyle")...

3 months ago | 0

Answered
Help with Inequalities In Switch Statement
What is happening in the first case of your switch statement is not that it checks whether (Khat >= 0) && (Khat <= 0.14) is tr...

3 months ago | 0

Answered
Can I Install a MATLAB Individual License on AWS?
Yes. See this documentation on how to Run MATLAB on Amazon Web Services.

3 months ago | 0

Answered
Issues with overlapping graphs in nested tiledlayouts
I think you don't want the very first nexttile call, just after for i = 1:max(clsnum) which creates the "underneath" axes, th...

4 months ago | 0

Answered
Shading area between 2 curves (x function in terms of y)
Another (I think simpler) method is to change the "view" of the axes. This way the XData and YData properties of line up with w...

4 months ago | 0

Answered
Shading area between 2 curves (x function in terms of y)
I think you got yourself -- and me -- confused by swapping the definitions of what are conventionally called the X- and Y-axis. ...

4 months ago | 0

Answered
How to permanently undock all future generated figures R2025a
Put the line set(groot, "defaultFigureWindowStyle", "normal"); in your startup.m file.

4 months ago | 2

| accepted

Answered
can not connect to Moble MATLAB
Both MATLAB Online and MATLAB Mobile had downtime earlier today. You can check the current status at the MathWorks status page. ...

5 months ago | 0

Answered
matlab online doesn't work
According to the MathWorks status page, there are currently (13:30 UTC, 10 June) issues with starting new sessions on MATLAB Onl...

5 months ago | 2

| accepted

Answered
Differences between figure and uifigure (R2025a onward)
According to the Limitations section in the uifigure documentation, one cannot use the print() function on a uifigure.

5 months ago | 0

Answered
Any commands about rotation where the unit of the input is radian
I don't think there is a native equivalent of rotx() that uses radian as input. You can convert radians to degrees using the rad...

5 months ago | 0

| accepted

Answered
Remove duplicates from array, some first and some last
I believe this does what you want: A = [1 0; 2 0; 3 1; 4 2; 5 3; 6 3; 7 3]; [~, ia_last]...

5 months ago | 1

| accepted

Answered
How to reduce the file size of MAT files?
It's not really as simple as "rounding", as the memory requirements are dependent on the data type. But, there are different num...

5 months ago | 0

Answered
Cody - "server not available" when submitting solution on prime numbers question
That error does not mean your solution was not fast enough. (As I recall, there is a separate message telling you if you solutio...

5 months ago | 1

Answered
How can I use table() with a variable number of columns?
I assume that data, colName, and rowName are consistently dimensioned. slice = squeeze(data(jj,:,:)); TT{jj} = array2table( sl...

5 months ago | 1

Answered
problem to use compose
It's because your values are actually 0.7937 * 1.e-5. Try .. load('matlab_bb.mat') bbb=char(compose("%% %9.9f",bb));

5 months ago | 1

| accepted

Answered
My students could not open an account in Matlab Online
MathWorks has been undergoing a ransomware attack for over a week. You can see updates at their status page. I know MATLAB Onli...

5 months ago | 0

Answered
"No Healthy Upstream" when trying to get to Mathworks Licensing Manager
MathWorks has been experiencing a ransomware attack. You can see the status updates at https://status.mathworks.com/

5 months ago | 0

| accepted

Answered
Transfer history to MATLAB 2025a
I did not know the answer to your question, so I decided to as in the AI Chat Playground. Here is what it came up with. In MATL...

5 months ago | 0

Answered
Would kfold loss values vary if cross validation is performed after model training?
The predictions will be identical, as long as you use the same fold assignments: % Set seed, for reproducibility rng default ...

6 months ago | 0

| accepted

Answered
How to create a pdf from the histogram
You can use the histogram function to create and plot a histogram. You can use the ksdensity function to estimate a non-paramet...

6 months ago | 1

| accepted

Answered
More unexpected behavior multiplying an array with a double
Using the simpler example that @Stephen23, posted S(1).x = pi; S(2).x = sqrt(2); S.x Note that S.x is not a double array. ...

6 months ago | 1

| accepted

Answered
How does one obtain the covariance matrix for the fixed effects from fitting a mixed effect model using fitlme or fitlmematrix?
A LinearMixedModel object lme has a CoefficientCovariance property, which you can obtain with lme.CoefficientCovariance This i...

6 months ago | 0

| accepted

Answered
Hyperparameter optimization fitrnet not working
Per the documentation for fitrnet ... "You can use an array ResponseVarName to specify multiple response variables. (since R202...

7 months ago | 0

| accepted

Answered
Shapley based feature selection
The Shapley values don't require the class labels (i.e. the actual responses) to determine feature importance. The Shapley valu...

8 months ago | 1

| accepted

Solved


Project Euler: Problem 4, Palindromic numbers
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...

8 months ago

Load more