SungJun Cho
Followers: 0 Following: 0
Feeds
질문
Clarifications on Dunn-Sidak Approach in multcompare.m
Hi all, I am trying to perform the Dunn's test as a non-parametric post hoc multiple comparison test based on the statistical r...
3년 초과 전 | 답변 수: 0 | 0
0
답변답변 있음
Define a variable?
The red underline occurs when you have not preallocated your array (or matrix). You can just do k = zeros(1,n); for i = 1:n ...
Define a variable?
The red underline occurs when you have not preallocated your array (or matrix). You can just do k = zeros(1,n); for i = 1:n ...
3년 초과 전 | 0
| 수락됨
질문
Understanding CWT Morlet: Time and frequency resolution
Hello all, I have been using a continuous 1-D wavelet transform (MATLAB cwt function) to compute and plot wavelet scalograms. F...
3년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
how to count the number of occurrences of these numbers (with some conditions)
Hi, The code below should solve your problem. A(1,:) = [1,2,5,2,1,2]; A(2,:) = [0,1,1,0,1,0]; uA = unique(A(1,:)); answ...
how to count the number of occurrences of these numbers (with some conditions)
Hi, The code below should solve your problem. A(1,:) = [1,2,5,2,1,2]; A(2,:) = [0,1,1,0,1,0]; uA = unique(A(1,:)); answ...
3년 초과 전 | 0
문제를 풀었습니다
Find last zero for each column
Given a numeric array of arbitrary size, return the row index of the last zero for each column. If a column contains all nonzero...
3년 초과 전
문제를 풀었습니다
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
3년 초과 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
3년 초과 전
답변 있음
Pre-allocation issue non existent before
First of all, when I ran your code, Avg_saving outputs 1 x 200 double array, so you might want to preallocate the arrays in righ...
Pre-allocation issue non existent before
First of all, when I ran your code, Avg_saving outputs 1 x 200 double array, so you might want to preallocate the arrays in righ...
3년 초과 전 | 0
답변 있음
how do I put arrays into a for loop
To calculate the mean of the first N elements of an array, you can use mean_y1 = mean(y1(1:N)); However, you may import a .ma...
how do I put arrays into a for loop
To calculate the mean of the first N elements of an array, you can use mean_y1 = mean(y1(1:N)); However, you may import a .ma...
3년 초과 전 | 0
| 수락됨
답변 있음
Changing a a value in table column dependent on another column.
You can just do e = [ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 78 78 78 78 78 78 78 78 78 78]; e = e'; d = [ 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
Changing a a value in table column dependent on another column.
You can just do e = [ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 78 78 78 78 78 78 78 78 78 78]; e = e'; d = [ 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
3년 초과 전 | 0
| 수락됨
답변 있음
Find the index range of ones/trues?
I made a brief function that gives you a two-column matrix of the start and end indices when a logical vector is given as an inp...
Find the index range of ones/trues?
I made a brief function that gives you a two-column matrix of the start and end indices when a logical vector is given as an inp...
3년 초과 전 | 0
답변 있음
how to extract data from .mat file?
If you want to extract first 10000 elements from the x, you can just do extracted_x = x(:,:,1:10000); % Or if you want specifi...
how to extract data from .mat file?
If you want to extract first 10000 elements from the x, you can just do extracted_x = x(:,:,1:10000); % Or if you want specifi...
3년 초과 전 | 0
| 수락됨
답변 있음
How to know which loop is being calculated?
Hello, To find out which step the loop is processing, you can always click pause and check "k" and "j". However, you can also ...
How to know which loop is being calculated?
Hello, To find out which step the loop is processing, you can always click pause and check "k" and "j". However, you can also ...
3년 초과 전 | 0
| 수락됨
답변 있음
Morlet wavelet: what is the difference between 'morl' and 'amor' wavelets?
Hi Maja, It seems quite late to answer your question, but to simply put, the difference between 'morl' and 'amor' wavelets lies...
Morlet wavelet: what is the difference between 'morl' and 'amor' wavelets?
Hi Maja, It seems quite late to answer your question, but to simply put, the difference between 'morl' and 'amor' wavelets lies...
3년 초과 전 | 1