photo

oronir


Active since 2022

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


Creating a For Loop to Compare Every Two Cells in Array
Hi All, I want to create a loop that compares every two values in an array. For example: HD_Affect = ["Neutral" "Positive" ...

1 year ago | 1 answer | 0

1

answer

Question


I want to only interpolate shorter amounts of data and leave the longer amounts of NaN not interpolated.
I have interpolated my data by using: nanp = isnan(data); t = 1:numel(data); data(nanp) = interp1(t(~nanp), data(~nanp), t(na...

3 years ago | 4 answers | 0

4

answers