photo

dandan


2015년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Apply function to all fields of a structure
Say I have a structure with a bunch of fields, and I would like to add a subfield to each field with the mean of its values, suc...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Accessing Nth element of a given field for all elements in a non-scalar structure.
I have a 1xM non-scalar structure with a field with N elements. For example (with M=3 and N=10): for N=1:10; s(1).x{...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Apply function to two cell arrays element-wise
I have two cell arrays, xdata and CDF. I want to apply kstest element-wise to each pair of xdata and CDF cells (e.g., xdata{1} a...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Setting multiple fields in an existing structure
I feel like this should be simple but I'm new to using structures and can't figure out how to get the syntax right. I would like...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Converting variable length vector into variable length input argument for function
I'm trying to turn a function output vector of variable length into a variable number of arguments to be fed into another functi...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Fitting generalized pareto distribution to data with zeros and censoring
I am trying to understand the differences between two approaches to fitting a GP distribution to my data, and which one is most ...

6년 초과 전 | 답변 수: 0 | 1

0

답변

질문


Plot two outputs (or two columns of one output) of a function against each other using only one line of script in an anonymous function
I have the following anonymous functions (this is a much-simplified version for the sake of asking this question) that both prod...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Why is cumsum producing CDF>1 values from a user defined distribution?
I am trying to calculate my own cumulative distribution using cumsum (because I want to be able to use it on a truncated distrib...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Anonymous function with variable number of input and output arguments
I am trying to write an anonymous function to generate strings for plotting several variables in multiple figures. I would li...

6년 초과 전 | 답변 수: 3 | 1

3

답변

질문


Generate synthetic data (or probability distribution object) from user-defined distribution function
I need to generate a synthetic dataset using a distribution that is not supported by the Matlab stats toolbox. The distribution ...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Deleting elements from multiple vectors at once
I need to delete an element from several vectors. The inelegant way I've been doing this is: %a=element to remove vector...

거의 9년 전 | 답변 수: 3 | 1

3

답변

질문


Why is corrcoef returning a P-value of zero?
I have two arrays, which both contain a significant number of zeros (they're observed and predicted data for sediment transport,...

9년 초과 전 | 답변 수: 1 | 0

1

답변