Community Profile

photo

the cyclist


3,955 2011 年以降の合計貢献数

Data scientist at Cohen Veterans Bioscience; 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.)

連絡する

the cyclist's バッジ

  • Scavenger Finisher
  • Thankful Level 4
  • 36 Month Streak
  • Ace
  • Likeable
  • Famous
  • Quiz Master
  • First Review
  • First Submission
  • Revival Level 3
  • Knowledgeable Level 4
  • First Answer
  • Puzzler
  • Speed Demon
  • Creator

すべて表示

貢献した分野
表示方法

回答済み
Matrix manipulation Question - arranging rows
sortrows(a,1) See the documentation for sortrows for details.

約23時間 前 | 0

回答済み
GUIDE MATLAB R2019a
Create a simple app using GUIDE

約23時間 前 | 0

回答済み
How do I generate a matrix from a function?
Here is a better way to do it, without for loops at all: wind_speed_range = 15:5:115; air_temp_range = -60:5:10; [ww,aa] ...

約23時間 前 | 0

回答済み
How do I generate a matrix from a function?
Here is one way to do it, via similar for loops to what you set up. wind_speed_range = 15:5:115; air_temp_range = -60:5:10; ...

約23時間 前 | 0

回答済み
combination of integer numbers
I would download John D'Errico's partitions function, and then I believe your answer is p = partitions(15,[1 1 1 1])

1日 前 | 0

回答済み
How to re-arrange swapped elements in an estimated vector as compared to a reference vector
Here is a different approach. It relies on the fact that you want the first three inputs to be in ascending numeric order, and i...

1日 前 | 0

| 採用済み

回答済み
Within- & between-subjects in 'anovan'
This documentation page seems to be a pretty exhaustive description of how one can specify the test.

2日 前 | 0

回答済み
The lot of plot doesn't shown
In your code, Throughput is just a single value, that gets overwritten during each iteration of the for loop. I'm guessing you ...

2日 前 | 0

回答済み
How to plot mean scores of dataset with different number of variables
% Make up some pretend data data = rand(2922,23); % 1-320, 321-655, 656-1001, 1002-1338, 1339-1684, 1685-2027, 2028-2348, 23...

2日 前 | 0

回答済み
Sum up dissimilar values in a matrix
If M is your array ... sum(unique(M(M~=1)))

2日 前 | 0

| 採用済み

回答済み
Reset the order of table columns
% Make the table x = rand(2,1); y = rand(2,1); tbl = table(x,y) % Rearrange the column order tbl = tbl(:,[2 1]);

2日 前 | 0

回答済み
How can I use "IF" statement to prevent adding same element to an array?
Would it be acceptable to just remove duplicated rows after-the-fact? If so, you could do B = unique(B,'rows'); It seems likel...

2日 前 | 1

| 採用済み

回答済み
Why is norm pdf 0 .3989?
You want normcdf(0) not normpdf(0)

2日 前 | 0

回答済み
extracting specific data out of big data
Your question is not perfectly clear to me, especially regarding the size and shape of your input array(s) the exact output th...

2日 前 | 0

回答済み
How to know the number of colunma having the magnitude and the row number in a matrix.
A = [ 6 5 3 1 9 2 4 6 8 5 12 14 6 18 16] row = 2; val = 6; find(A(row,:)==val)

3日 前 | 1

回答済み
Bar plot with negative and positive values, stacked, and with non-zero base value
For what it is worth, this is not a bug. It is a change that was documented in the release notes for R2019b. It's in the Graphic...

3日 前 | 1

回答済み
How to initialize an array such that the values satisfies an equation
I think if I were going to try to solve that problem, I would take as a starting point Roger Stafford's function randfixedsum, f...

3日 前 | 0

| 採用済み

回答済み
Why is the output of power spectrum this shape?
I expect that the answer to your question is embedded in the Spectrum Computation section of the documentation for pspectrum.

3日 前 | 0

回答済み
summing along 3rd dimension every 10 frames
Stephan provided a slick one-liner, but I think it might also be useful for you to see what mistakes you made. Here is a correct...

3日 前 | 0

回答済み
Anybody know how to import excel file or other (table) using MATLAB MOBILE?
If the Excel file is available in your MATLAB Drive, then you have a variety of options. One simple one is readtable. tbl = rea...

3日 前 | 0

回答済み
Correlation between two matrices
One possibility, which ignores any element for which A or B is NaN, is corrcoef(A,B,'rows','complete')

4日 前 | 1

回答済み
How to re-arrange swapped elements in an estimated vector as compared to a reference vector
% Inputs u=[0.5 1 1.5 0.6981 1.3962 1.5707]; Est1=[0.499 1.002 1.5001 0.6890 1.3880 1.49998]; Est2=[0.9999 0....

4日 前 | 0

回答済み
predicting CO2 using given data
Do you have the Statistic and Machine Learning Toolbox? If so then you could fit a simple linear model to your data like this: ...

4日 前 | 0

回答済み
How to plot over a range using absolute value
One way to do it would be to create a grid that is larger than the one you need, but then overwrite the x-y grid values that do ...

5日 前 | 1

| 採用済み

回答済み
Unpack arrayfun output into different variables
No, it is not possible. It is true that the output of arrayfun in this case is a 1x3 cell array. And you may feel that it is ob...

7日 前 | 0

| 採用済み

回答済み
Disappear of z coordinate when plotting 3D
I think you can "manually" fix this by setting the view. For example, try view(15,15) after the plot is made. I've seen a cou...

7日 前 | 0

回答済み
Helper Feature Vector2 Sequence
Do you have the Audio Toolbox installed? If you type ver at the command window prompt, do you see the Audio Toolbox listed?

7日 前 | 0

回答済み
Plot range with semilogx
You needed element-wise instead of matrix division in these two lines: eta = (EfEm - 1)./(EfEm + xi); y70 = (1 + xi * eta * .7...

8日 前 | 1

| 採用済み

回答済み
Hi, how can i proceed with this question, everytime i plot it, it doesn't show me my line. Can u guys help me
It's because you used a matrix division instead of an element-wise division to calculate y. Try this instead: y = (exp(x)./ sin...

9日 前 | 0

回答済み
Multivariate Gaussian user defined function
I made a few changes: Define L as the first column of X, not just first value Ditto Y for second column Changed a couple matr...

9日 前 | 0

| 採用済み

Load more