photo

Jonathan Cheong


Last seen: 3년 초과 전 2020년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 3

배지 보기

Feeds

보기 기준

답변 있음
Complicated for loops structuring
Thanks this works perfectly. smtmp = smcellere(:); for i = 1:length(smtmp) sm = smtmp{i,:}.'; t = 1:length(sm); ...

3년 초과 전 | 0

| 수락됨

질문


Complicated for loops structuring
Hello, this is a question for the pros, and feel free to only answer if it interest you. I have this code which helps me model...

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

1

답변

질문


Ignore NaN value when iterating
Hello, say for example I would like to iterate each row, and ignore any NaN values in a matrix. For example a 3x5 matrix (A): ...

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

1

답변

답변 있음
Remove elements in cell array based on index of elements
for ki = 1:length(difceller) condition1 = cellfun(@(x)(x<0),difceller,'UniformOutput',false); smcellere = cellfun(@(x,...

3년 초과 전 | 0

| 수락됨

답변 있음
Remove elements in cell array based on index of elements
for ki = 1:length(difcell) condition1 = cellfun(@(x)(x<0),difcell,'UniformOutput',false); gk = cellfun(@(x,y) y(x==1),...

3년 초과 전 | 0

질문


Remove elements in cell array based on index of elements
Hello, I would like to remove elements in a cell array based on index number from another cell array. For example: A = [1, 15,...

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

2

답변

질문


How to plot 'smooth' cell array graphs
Hello, I would like to 'smooth' out the curves of these plots and plot it on top of the exisitng 'noisy' graph. for ci= 1:lengt...

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

1

답변

질문


Plot each individual cells in different graphs
Hello, I have a two cell arrays I would like to plot as individual graphs. And be able to show them whenever I need to. X-axis ...

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

1

답변

질문


Replace number if within 2 numbers and smaller than last number.
Hello, I have a 45x2 array of numbers called 'ddindex'. The 1st row consist of starting number. 2nd row is the ending number. T...

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

1

답변

질문


Remove all number that comes after in cell array
Hello again, I have a 45x1 cell 'ddindexcell' with numbers of different dimensions. Then I have a list of numbers 'indend2'. Wh...

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

1

답변

질문


First number that comes after a list of numbers
Hello, I have a list of numbers 'indexstart'. I would like to find the 1st number that comes after these number from another lis...

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

1

답변

답변 있음
How to find index in cell array to start cumsum
Ok, so this is the answer. % Index of starting cumsum indices = cellfun(@(C) find(C>0.5), ddvaluecell, 'uniform', 0); indexes...

3년 초과 전 | 0

| 수락됨

질문


How to find index in cell array to start cumsum
Hello, I have a cell array 'ddvaluecell'. I would like to find the index of values in these cells which are > 0.5. Then starts...

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

1

답변

질문


Cumsum at different starting indices, append all previous value.
Hello, say I have 2 continuous dataset for example: A = [0 0 8 0] B = [1 0 0 0 0.5 1.5 0] The algorithm iterates over each e...

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

0

답변

질문


Find all values between 2 index columns
Say two columns (C) be this: 1 5 7 13 20 32 These are index values. The 1st column is the starting index, the 2nd colum...

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

1

답변

질문


Find first index that exceeds condition
To elaborate and ensuring my questions are specific, I have a dataset and their index: [1,2,3,4,5,6,7,8,9] [1,4,8,0,0,1,9,0,3]...

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

1

답변

질문


Conditional Indexing of a cumsum
From a random data k, I would like to fulfill 2 Conditions: 1) Cumsum until 3.5mm - Fulfilled 2) Each cumsum interval must be ...

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

1

답변

질문


Start Cumsum from table of values that correspond with given indeces
Hello, I have a timetable of values called ddtable with column 'RAIN' and an array of index called startdd. The objective: ...

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

0

답변

질문


Conditionally select rows and add to new table
For example, I have a 2000 x 3 table: Column_1: Datetime Column_2: Rain Column_3: Soil Moisture The a...

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

1

답변