Steven Yeh
自 2018 起处于活动状态
Followers: 0 Following: 0
Feeds
已回答
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...
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...
6 years 前 | 2
| 已接受
已回答
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...
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...
6 years 前 | 0
| 已接受
已回答
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...
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...
6 years 前 | 1
| 已接受
已回答
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)...
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)...
6 years 前 | 0
| 已接受
已回答
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...
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...
6 years 前 | 1
已回答
Create a subtable from a larger table
You can use the readtable function to build a table first, then retrieve the subtable with conditional indexing. For example...
Create a subtable from a larger table
You can use the readtable function to build a table first, then retrieve the subtable with conditional indexing. For example...
6 years 前 | 2
| 已接受
已回答
how do i bold certain characters in a vector?
You can try Element Style tag: fprintf(['The vector equation for the line is %s', ... ['<strong>i</strong>'], ... '...
how do i bold certain characters in a vector?
You can try Element Style tag: fprintf(['The vector equation for the line is %s', ... ['<strong>i</strong>'], ... '...
6 years 前 | 2