photo

Kim


University of maryand

2011년부터 활동

Followers: 0   Following: 0

메시지

통계학

All
  • Thankful Level 3
  • Solver

배지 보기

Feeds

보기 기준

질문


How do I build a design matrix/cell for mvregress (multiple dependent variables) with categorical variables (binary)
I am trying to build a multivariate regression model with two continuous dependent variables and one categorical (binary) predic...

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

0

답변

질문


frequency vectors from cwt
I am running cwt with Morlet wavelets with this code: for i=1:size(signal,3) for ii = 1:size(signal,1) [coef(:,:...

7년 초과 전 | 답변 수: 0 | 0

0

답변

문제를 풀었습니다


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

거의 9년 전

문제를 풀었습니다


Is my wife right?
Regardless of input, output the string 'yes'.

거의 9년 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

거의 9년 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

거의 9년 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

거의 9년 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

거의 9년 전

질문


Compare pairs in an array with every other pair
I have an r * 2 array in which each element in each row is a pair (a coordinate of a city). I have an function that can calculat...

대략 9년 전 | 답변 수: 2 | 1

2

답변

질문


Trying to find if three inputed numbers can make a right triangle
Can anyone help? I am trying to see if an array of three numbers inputted by a user can form a right triangle. My code is below ...

대략 9년 전 | 답변 수: 1 | 0

1

답변

질문


Why is cell2mat returning a char array and not an ordinary array?
In the documentation it says cell2mat returns an ordinary array, but when I use it I get a n x n char array. Does anyone know ho...

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

2

답변

질문


Changing a row vector into a logical vector
I have row vectors representing the appearance of a stimulus. The stimuli are logged as a square wave such that when the stimulu...

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

1

답변

질문


Storing function and variable values as the function runs
I know this must be very simple but please help if you can! I have the following code. I am trying to find out values of p for...

대략 10년 전 | 답변 수: 1 | 0

1

답변

질문


Why won't this function to generate a beta binomial distribution work?
I am new to function writing and don't understand the error message I am getting when I try to run this function function y...

대략 10년 전 | 답변 수: 0 | 0

0

답변

질문


Calculating prior distribution parameters
I have an observed rate of success, k=2 out of n=80 trials where k=uniform(0,1). What I want to estimate is the prior distributi...

대략 10년 전 | 답변 수: 0 | 0

0

답변

질문


Why is PCA returning only one component when I have 50 variables?
I am trying to use PCA in Matlab 2013. I have 50 variables with 52 observations for each. In the example given in documentation ...

10년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Why can't I use the PCA function on my 513*40 matirx with positive and negative values?
I have a 513*40 matrix of EEG data so that means microvolt values ranging from -30 to 30. I want to use the function PCA in orde...

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

1

답변

질문


How can I use EEG data as input and target for patternnet?
I have EEG data which is a 513 by n matrices of microvolt values. Each column corresponds to a vector in time that, when plotted...

10년 초과 전 | 답변 수: 0 | 0

0

답변

질문


What does MU in trainbr actually mean and can I EEG matrix data as inputs?
I am new to using ANNs practically so please be patient! I have two main questions 1. what does MU actually mean in the trainbr...

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

1

답변

질문


Calling sequential variable names in a for loop?
I have a set of variable names numbered sequentially. For example one set is AllChDeltaPreStim1,2,3,4,5 (so there are 5 diff...

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


Wavelet cross coherence statistics
I can perform a wavelet cross coherence using Matlab but I do not know how to tell what parts of the resulting transform are sta...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


Time axis in spectrogram for event relatd data
I have EEG data that is event related so the data times actually go from -500 to 1500 ms with fs=256. I would like to create a s...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


How to choose scales and input for code below using wavelets done by FFT?
If anyone understands how to pick scales for cwt using FFT I would so appreciate the advice. I am using Torrence and Compo's cod...

11년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Testing wavelet cross coherence against 1/f or white noise
I am asking a lot of questions lately and appreciate the help! I am about to finish my defense in neuroscience but am pretty new...

11년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How do I name elements in a field of a structure?
I have a 1*1 structure with 4 fields. The structure was generated from anova1 so I didn't create it. One field is 33 *2 and I wa...

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

2

답변

질문


Averaging and plotting cwt matrix
I have a 45 * 513 *52 matrix that represents 52 cwt coefficient matrix with a morl non-complex wavelet. I really need to collap...

11년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Creating a dataset array
I know this is so basic but I just can't get this to work. I have a dataset 13*30 representing power values of different frequen...

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

1

답변

답변 있음
How do I find a min/max value within a defined range for each column of a matrix?
Thank you so much for such a quick answer! I tried your code but I still have one problem. I forgot to mention (sorry) I ne...

거의 12년 전 | 1

| 수락됨

질문


How do I find a min/max value within a defined range for each column of a matrix?
I am sure this is so simple but I can't work it out. I have a 513*86 array where the columns are the variables and the rows are ...

거의 12년 전 | 답변 수: 3 | 0

3

답변

질문


Exporting a new wavelet to the desk top and using it
I built a new wavelet from a pattern I had using the wavemenu gui. I exported it to a file, and also to the workspace. But it do...

거의 12년 전 | 답변 수: 0 | 0

0

답변

더 보기