Community Profile

photo

the cyclist


Alden Scientific

Last seen: 1 día hace Con actividad desde 2011

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

Estadísticas

All
  • Treasure Hunt Participant
  • Scavenger Finisher
  • Editor's pick for Answers
  • Master
  • Likeable
  • Famous
  • First Review
  • First Submission
  • Thankful Level 5
  • 36 Month Streak
  • Revival Level 3
  • Knowledgeable Level 5

Ver insignias

Content Feed

Respondida
Retime function creates new rowtimes going back to 1899
You have a few dates from 1899 in your input data load CO2_TT.mat [minDateTime,indexToMinDatetime] = min(CO2_TT.DateTime) C...

alrededor de 17 horas hace | 0

| aceptada

Respondida
How to create curved arrows by giving tail and head coordinates?
It looks like the circular_arrow submission in the File Exchange might do what you want. I suggest downloading that function and...

alrededor de 19 horas hace | 1

| aceptada

Respondida
How can i find indices of constant elements between 2 arrays?
Do you mean the non-zero elements that are the same between the two arrays? A = [1 2 0; 0 1 0; 5 0 8]; B = [1 3 0; 0 4 0; 5 0 ...

alrededor de 20 horas hace | 0

Respondida
how to find average curve of n curves? n=3 in this case
Here is how to get at the underlying data, from the figure file. open("fig3b_XveKu_7.9%_S_parameters_VNA_CST_S21.fig") h = f...

1 día hace | 0

Respondida
Extracting from boxchart function the median, quartiles, and whisker data.
As you may know, but just in case you do not, there is also the boxplot function, which has more flexibility than boxchart.

2 días hace | 1

Respondida
How can I save "alpha" and "beta" parameters as double using fitdist command?
I'm not sure what part is giving you trouble. Here is how to pull the parameter values out of the distribution object. (The full...

3 días hace | 0

| aceptada

Respondida
What does this command line mean? (matrix A =[A t])
Square brackets can be used to concatenate arrays.

8 días hace | 0

Respondida
Send Emails from GUI
I don't know the answer to your question, but you might have better luck using the MATLAB-supplied sendmail function, rather tha...

8 días hace | 0

Respondida
Multiply column by a number
Here is one way: varList = ["Var7","Var8","Var9"]; tbl{:,varList} = tbl{:,varList}*15;

9 días hace | 0

Respondida
How do I extract data from a matrix with a specific column value and place into a row in a new matrix.
Here is a straightforward method, assuming equal number of duplicates in the first column. % Input M = [1, 25 3, 33 3. 45 2...

10 días hace | 0

Respondida
How can I fill the area between these lines and curves?
You can use the fill function.

11 días hace | 1

Respondida
Delete columns if sum of a group of 10 columns is zero
Here is one way. for nc = 123:-10:3 colIdx = nc:(nc+9); if sum(Data1(15:end,colIdx),"all")==0 Data1(:,colIdx...

12 días hace | 0

| aceptada

Respondida
two x-axes, one above and one below, inverted
This documentation explains how to do multiple axes. And then you'll need to set the XDir property of one of the axes to "rever...

12 días hace | 0

Respondida
Fit nonlinear regression model
Answering your main question: beta0 is the initial guess at the coefficients of the fit. In your case, MATLAB is expecting a vec...

13 días hace | 0

| aceptada

Respondida
Why there is a Invalid Expresssion error in my fit function?
Your code works: n = [1433;2700;1000000]; s = [1170.98;780.65;390.33]; f= fit(n,s,'power1') Did you perhaps try to spread th...

13 días hace | 0

| aceptada

Respondida
Ordering of an array based off conditions
% Input data tmp = {'1e2','1h4','1t0', '3g2', '3g3', '3g4', '3q0', '3q1', '3q2'}; letter_list = {'t','q','e','g','h','i','j'};...

14 días hace | 0

| aceptada

Respondida
How can I set the NaN values to black in a pcolor plot?
Set the axes background color to black: % Generate sample data data = rand(10, 10); data(3, 3) = NaN; % Set a specific value...

14 días hace | 1

| aceptada

Respondida
extract statistically independent words
You can do n-gram processing with the Text Analytics Toolbox.

16 días hace | 0

Respondida
problem inconsistent dimension arrays
We can't run your code because we don't have all the inputs to do so. I suggest using the debugger to halt your code at that lin...

16 días hace | 0

| aceptada

Respondida
In order to automate the fitlm command I need to select numerical data from a matrix, and matching variable names from another character array. I get an error on fitlm command
One way that is close to the syntax you used is this: lm=fitlm(tbl,sprintf('%s ~ %s',erase(strtrim(VarNames(OriColumns(i,1),:))...

16 días hace | 0

Respondida
I would like to delete the black line in the boxes
Those are the whiskers, in the compact style. You can set their length to zero. (I also removed outliers, to show it more clearl...

17 días hace | 0

| aceptada

Respondida
A line does not appear when I plot
The way you have coded this, both h and Temp are going to be scalars (single values) after the loop completes, so there is only ...

17 días hace | 1

Respondida
What does this error mean?
This error means that a file named noisyaudio.wav was not found in your MATLAB search path.

19 días hace | 0

Respondida
How to plot 2 columns for 5 data set categories with different length using boxplot
There is a very similar example in the documentation for the boxchart function. To give more specific advice than that, we'd pr...

20 días hace | 0

| aceptada

Respondida
No true random for standalone (files only) in AppDesigner?
Disclaimer: I've never used AppDesigner, or distributed standalone MATLAB exe files. Sounds like it is starting from the defaul...

21 días hace | 1

Respondida
Legend is not showing all the colors - bar plot
In each subplot, you are plotting [singleObjsPerc(i,1:2); singleObjsPerc(i,3:4); singleObjsPerc(i,5:6); singleObjsPerc(i,7:8); ...

25 días hace | 1

| aceptada

Respondida
How do you remove a value from a table based on its value
One can do what you ask as follows: Value = ([0,0,1,1,0]); Heading = (["Radius", "Speed", "Type", "Location", "ID"]); Combine...

25 días hace | 0

| aceptada

Respondida
Error regarding array while creating Nakagami-m Fading Model
If you use the MATLAB debugger, and stop your code just before that line, you'll see that the variable data and rx_data are not ...

25 días hace | 0

Respondida
Subplot output data seen in two different window.
On this line of your code xlabel('W_r'); ylabel('I'); figure; the figure command is creating a new figure window. Don't call t...

25 días hace | 0

Respondida
Colorbar is opposite of scatterplot
It is more difficult to debug your result, when you have not given us the full code that generates your figure. But, I see no p...

26 días hace | 0

| aceptada

Cargar más