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

Statistics

All
  • Treasure Hunt Participant
  • Scavenger Finisher
  • Master
  • Thankful Level 4
  • Likeable
  • Famous
  • First Review
  • First Submission
  • 36 Month Streak
  • Revival Level 3
  • Knowledgeable Level 4
  • First Answer

バッジを表示

Content Feed

表示方法

回答済み
Create a Rayleigh distribution fitting experimental data
According to the documentation for raylfit, it takes the raw data as input. Is there a reason you are not simply using B=raylfi...

3日 前 | 0

回答済み
what is Total cost in matlab
In machine learning, "cost" refers to the idea that misclassification errors are bad, and therefore have a penalty or cost. Her...

3日 前 | 1

| 採用済み

回答済み
how can i compute the stander diviation and confidence intervales for a matrix?
If you have the Image Processing Toolbox, you can use the std2 function to compute the standard deviation of all the elements of...

4日 前 | 0

回答済み
How to determine the lag angle between two snine wave
I believe you will only get exactly 90 if you could sample at infinitesimal resolution and/or a signal that extends for infinite...

6日 前 | 0

質問


Can I use .aws/config file to provide AWS S3 credentials?
I have been able to successfully access files on an AWS bucket via the syntax readtable('s3://bucketname/filename.csv') when I...

7日 前 | 1 件の回答 | 0

1

回答

回答済み
Why does Matlab not manage to evaluate a certain variable in my code?
Is this really the expression you want to evaluate? int(expm(A2*t),t,0,(1-D)*Ts)*B2 The reason I ask is that it has a differen...

7日 前 | 0

回答済み
Evaluate Multiple Conditions in Expression
if (IntX < 1) | (IntX > Inner(3)) | (IntY < 1) | (IntY > Inner(4)) ah.Color=[1, 1, 1]; xlabel(ax, ' '); return; ...

10日 前 | 0

| 採用済み

回答済み
Index exceeds the number of array elements (0)
You have confusingly defined both Xn and xn. You are trying to access the variable Xn, which is an empty array. I'm guessing yo...

10日 前 | 0

回答済み
Can you change the value of a variable while program is paused?
Yes, you can. I wasn't sure, but I just tested with the simple program i=0; while true i = i+1 end I was able to pause...

11日 前 | 0

回答済み
Mapping Toolbox 'distance' command inconsistent results with 'radians' units
I have no experience with this toolbox/function, but I'm guessing you also need to treat the input units accordingly as radians....

12日 前 | 1

| 採用済み

回答済み
How to implement kriging in Matlab?
Googling "MATLAB" and "kriging" turned up this submission from the File Exchange.

12日 前 | 0

回答済み
how to create a for loop for 3 variables
% Make up a random input. (You don't need this step) Point = rand(1,3*15*7); % Define these parameters for convenience NR =...

15日 前 | 0

| 採用済み

回答済み
don't know the problem in my while loop
You initialize the value of i to be zero. Then you try x(i) which is equivalent to x(0) which means you are trying to acce...

18日 前 | 0

| 採用済み

回答済み
Make Equal tick spacing in a loglog plot
I am not certain that I understand what you mean, but maybe you want the semilogx function rather than loglog?

20日 前 | 0

回答済み
Plot two functions with several changing variables
I ran your code inline here. I'm guessing the slightly different error message is due to different MATLAB versions. The heart o...

22日 前 | 0

回答済み
Requirements for econometrics work
To my knowledge, Mathworks does not publish system requirements for particular toolboxes. According to the system requirements f...

24日 前 | 0

回答済み
Legend displaying the same color for all lines
This pair of lines causes a problem in my MATLAB setup (R2021b on an M1 Mac). I'm not sure if it valid MATLAB syntax in general....

26日 前 | 0

回答済み
how to plot histogram from an array ?
Histograms start from the data before they have been binned. You just need a bar chart. If your data are stored in a MATLAB tabl...

28日 前 | 0

回答済み
why does 'sum' and 'trapz' function show same result ?
sum() and trapz() do not give the same result, even assuming uniform spacing: Y = [1 2 3 4 5]; sum(Y) trapz(Y) It only seeme...

約1ヶ月 前 | 1

回答済み
How to divide whole string with specific number?
A = [1 2 3 4 5 6 7 8 9]; A_2 = A/2; divide = [6 7 8 9 6 3 4 2 5]; results = A./divide See Array vs. Matrix Operations for de...

約1ヶ月 前 | 0

| 採用済み

回答済み
What is the greatest advantage of MATLAB over Python, in ML?
Disclaimer: I am a 90% MATLAB / 10% python user, so I could be biased. I think one big advantage of MATLAB over python is the c...

約1ヶ月 前 | 0

回答済み
Plot function in matlab
You can use the loglog function to create a plot like that. See the documentation for details. Also, for your future reference,...

約2ヶ月 前 | 0

回答済み
Setting up Matrix in a Different way
This does what you want via a straightforward loop. I expect there is a slicker way to do this. A=[1 10 12; 2 12 3; 3 ...

約2ヶ月 前 | 0

| 採用済み

回答済み
Unrecognized function or variable 'x'.
Because you have the code x = linspace(-2.*pi,2.*pi); the value of x that comes in via the input is never used. That is why yo...

約2ヶ月 前 | 0

回答済み
Can my x-axis have varying scales for certain ranges of values?
Here is a simple example: x = 1:10; y = 2*x; figure plot(x,y) xtick_loc = [0:0.5:2 3:2:7 8:0.5:10]; set(gca,'XTick',xtic...

約2ヶ月 前 | 0

回答済み
Creating a plot where my x and y values are defines by equations of another variable
Here is a simple example. z = 1:10; x = 2.*z; y = 3.*z; figure plot(x,y) xlabel('x') ylabel('y')

約2ヶ月 前 | 0

回答済み
Why won't my plot graph a line?
Because you defined x as a looping variable, after the loop is completed, x is equal to just the last value in the loop. Instead...

約2ヶ月 前 | 0

| 採用済み

回答済み
Check whether values of a certain column of a matrix is between two values
OK, still trying to understand everything, but I think this does what you want: % Sample input BUS(:, 8) = [2;2;2]; BUS(:,12)...

約2ヶ月 前 | 0

| 採用済み

回答済み
Check whether values of a certain column of a matrix is between two values
I think you intended volmax<0 & volmin <0 rather than volmax<0 | volmin <0 because you want to meet both conditions ("AND"),...

約2ヶ月 前 | 0

回答済み
Select only determined rows in a matrix
% First matrix A = rand(200,2); % New matrix B = A(10:10:end,:); % This will start with the 10th row. You could do B = A(1:...

約2ヶ月 前 | 0

| 採用済み

もっと読み込む