Community Profile

photo

the cyclist


Alden Scientific

Last seen: Today 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
Pronouns:
He/him

統計

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

バッジを表示

Content Feed

表示方法

回答済み
Matrix to Column vector? For ground motion timehistory
% Making a smaller matrix, to see the result more easily gm = magic(3) % The algorithm: gmt = gm.'; %Transpose gm_col = gm...

約3時間 前 | 0

回答済み
Reading a Datetime Column as Numbers Instead of Actual Dates in MATLAB
An alternative solution to my other one, but possibly more expedient for you in working with existing code, would be to use the ...

1日 前 | 0

| 採用済み

回答済み
Reading a Datetime Column as Numbers Instead of Actual Dates in MATLAB
As it says on the documentation page, use of xlsread is not recommended. You will almost certainly be on a happer road if you r...

1日 前 | 0

回答済み
how to Calculate Gravity
You are not indexing into x correctly. Here is one way to fix it: r=8; z=15; x=0:10:100; dp=2400; G=6.67e-11; for i=1:nume...

1日 前 | 0

| 採用済み

回答済み
Add multiple rows of a matrix in one row.
% Create an input matrix like yours n = 4; M = rand(n,3) % Calculate the sum sumM = sum(M) As you may realize, this is a v...

1日 前 | 0

| 採用済み

回答済み
Read multiple csv of similar names
Something like this for x = 0:99 filename = sprintf("values%d.csv",x) tbl{x+1} = readtable(filename); end This will...

1日 前 | 0

| 採用済み

回答済み
What does 1V mean?
I see that that line of code is from the documentation for findpeaks. It presumably does mean volts (from context), but you can ...

2日 前 | 0

回答済み
How can get a correlation plot?
Here is one plan of action: Use the readtable function to load your data into MATLAB Use corrplot to get the plot Use the cor...

2日 前 | 0

回答済み
what's wrong with my ks test?
My guess here is that this line of code C = wblrnd(100,1); is not doing what you expect. It is generating just one value, from...

4日 前 | 0

| 採用済み

回答済み
Merging multiple graphs in the same tiled layout
If I understand what you mean, you just need to use the hold function (just after nexttile) to retain plots, rather than replaci...

6日 前 | 0

回答済み
.csv using readtable doesn't make difference between the value 1 and 01
% Detect the automatic import options opts = detectImportOptions("23_Time Cards_Practice 1.CSV"); % Change of import type of...

6日 前 | 1

回答済み
Plot legend has too many entries
This line yieldline_steel = plot(x1,y1,x,y_steel) plots two objects, the first of which is just a single point.

6日 前 | 0

| 採用済み

回答済み
How can I modify a list of existing variables programmatically?
You've seen @Walter Roberson's answer, and it is spot-on. That being said, what you want to do is possible, using the appropriat...

7日 前 | 1

回答済み
Get exact curve parameters in the fit function
The four decimal places are just the default display value. You can change that with the format command. For example, use format...

8日 前 | 1

| 採用済み

回答済み
If statement not working for trig quad check
I did not look in detail, but I'd be willing to bet that the problem lies in making comparisons between floating-point numbers, ...

9日 前 | 0

| 採用済み

回答済み
Mathematical functions across variables
If you just want to know their sum A(1,1) + B(2,1) If you want to add A(1,1) to the value stored in B(2,1) B(2,1) = A(1,1) + ...

9日 前 | 0

回答済み
Plot ECDF and histogramm of distribution
Do you mean you want to avoid drawing the additional horizontal red lines? I think you'll need to do something "manually", beca...

10日 前 | 0

| 採用済み

回答済み
Are "fitrnet" and "fitnet" using backpropagation?
I am not an expert, but my read of the documentation is that all the algorithms used by fitnet, at least, will use backpropagati...

12日 前 | 1

回答済み
How to update leap seconds
The file leapseconds.m calls a built-in file to get the list of leap seconds, but you can edit that file to add additional ones....

12日 前 | 0

回答済み
Random number generate in an interval
A normal distribution, by definition, has support from negative infinity to positive infinity. You cannot have both a normal dis...

13日 前 | 0

回答済み
I can not solve the errors
The direct cause of the error you are seeing is that in the line that gives the error, you are trying to matrix-multiply a 1x3 v...

15日 前 | 0

| 採用済み

回答済み
Error Code: Unable to perform assignment because the left and right sides have a different number of elements
My best guess is that while your t and v have the same number of elements (which would allow plotting them against each other), ...

16日 前 | 0

回答済み
Sorting columns by header names
% Make up a data table N = 3; Column_B_data1 = rand(N,1); Column_A_data1 = rand(N,1); Column_C_data2 = rand(N,1); Column_D_...

20日 前 | 1

| 採用済み

回答済み
Horzcat Error in 3x3 matrix with multiplication of Matrices
There is nothing inherently wrong with the matrix you specified (as you can see from the code below). You'll need to share more...

27日 前 | 0

回答済み
Need help in using trapz to integrate a definite function
trapz is probably not the best way to do this. You could use integral instead c=3*10^8; % speed of light in vaccum h=6.626*10....

27日 前 | 1

回答済み
Need help in using trapz to integrate a definite function
Did you read the documentation for the trapz function? It expects either two or three inputs, not the four you provided. I am g...

27日 前 | 0

回答済み
Break title into multiple lines?
You can create a multiline tile using either a cell array or a string array. Each element in the array corresponds to a separate...

約1ヶ月 前 | 105

| 採用済み

回答済み
Dark Mode editor for MATLAB
UPDATE April 2022 - Please see this Answer for more details on dark mode: https://www.mathworks.com/matlabcentral/answers/167119...

約1ヶ月 前 | 18

| 採用済み

回答済み
Fitting 3-d plot
Use meshgrid to make a grid out of your x and y vectors: x = 1:8; y = 1:11; z = rand(11,8); [xx,yy] = meshgrid(x,y); su...

約1ヶ月 前 | 0

| 採用済み

回答済み
Slider (legacy) with no room to slide?
I believe this does what you want, for N=1. I frankly have not fully grokked how this works, but figured I'd post the solution ...

約1ヶ月 前 | 0

| 採用済み

さらに読み込む