Community Profile Steven Yeh

7 total contributions since 2018

View details...

Contributions in
View by

How to detect the change point
You pretty much have it laid out: diff_data=diff(data); diff_data=[0;diff_data]; percentageChange = abs(diff_data...

mehr als ein Jahr ago | 2

| accepted

How do I efficiently replace data in data sets where I want to find a value in the data that is in one array and replace it with the data in the same position in another array.
You can use a single loop with find function: a = 1:10; b = 11:20; c = 1:2:10; for i = 1:length(c) inde...

mehr als ein Jahr ago | 0

| accepted

xlswrite text with multiple empty cells inbetween
There are many ways to do this, one of them is to create padding cells: a = cell(1,20); Header1 = {'All',a{:}, 'Develope...

mehr als ein Jahr ago | 1

| accepted

How can I animate the drawing of a figure 8 shape in a polar plot to confirm the path it takes?
Try this: start = 0; end_ = 2*pi; disc = pi/16; theta4 = 0:0.01:2*pi; rho4 = sqrt(4*cos(2*theta4).*(sec(theta4)...

mehr als ein Jahr ago | 0

| accepted

Divide y values of two graph?
You could create a new time series, and use linear interpolation to find corresponding values. For example: ax = linspac...

mehr als ein Jahr ago | 1