stephen23 -凯发k8网页登录
suspensa vix via fit
统计数据
4
8,593
21
排名
5
of 277,885
声誉
33,169
贡献数
4
8,593
回答接受率
75.0%
收到投票数
5,457
排名
101 of 18,801
声誉
10,260
平均
4.90
贡献数
21
下载次数
954
all time 下载次数
80611
排名
of 129,101
贡献数
0 个问题
0 个答案
评分
0
徽章数量
0
贡献数
0 帖子
贡献数
0
平均
贡献数
0
平均赞数
content feed
"i want element (1:10) of each fields.." your structure only has one field, named "f". you can iterate over the 73 elements ...
3 days 前 | 1
t = readtable('project_prova data export.xlsx') tx = strcat(t.recordingdate,'t',t.recordingstarttime); dt = datetime(tx, "inpu...
4 days 前 | 1
| 已接受
"since data(1:10).sys.sys1.sub1.datapoint1 does not work.." first lets generate your sample structure: dt = 1/1000; t = 5; t...
7 days 前 | 0
format short g s = load('dataset.mat'); d = s.dataset method one: arrayfun: v = d(:,5); u = unique(v) c = arrayfun(@(x)d(x...
7 days 前 | 0
"i don't have an idea how to correct these errors. does anyone have an idea?" the error message already tells you how: "check t...
8 days 前 | 0
| 已接受
m = 6; n = 7; a = cumsum(ones(m,n),1) a = repmat(1:m,n,1).' a = (1:m).' * ones(1,n) a = min(1:n,(1:m).') a = repmat((1:m)....
8 days 前 | 1
| 已接受
"how can i do the above final line without typing all numbers up to 60?" the general approach is to use a comma-separated list:...
9 days 前 | 1
"i need some code that will go through each pair of rows (e.g. row 1 and 2 then row 3 and 4 etc.) and check if they both have no...
13 days 前 | 0
t = readtable('lp.xlsx') t.dt = datetime(t.date, 'convertfrom','excel') days(t.time)
15 days 前 | 0
| 已接受
v = [1,2,3,4,5,6,7,8,9,8,7,6]; u = [9,8,7,6,5,4,3,2,1,2,3,4]; l = sqrt(numel(v)); vm = reshape(v,fix(l),[]); um = reshape(u,...
16 days 前 | 1
| 已接受
this page turns up relatively high on some google searches, so i might as well make some corrections: "s is a structure. first...
18 days 前 | 1
a = [nan,nan,nan,nan,43,nan,nan,nan,45,nan,nan,10,22,nan,nan,nan,nan,36,33,28,21,nan,20,98,nan,17,nan,nan,nan,nan,nan,2,3,nan,5,...
20 days 前 | 2
"s there a way to change the ordering so that it sits on top of the other data series like layers in photoshop?" of course, use...
23 days 前 | 0
str = fileread('simulation_results.txt') tkn = regexp(str,'(\d ):\s*(\d\s )\s*\n[^\n] :\s*(\d )','tokens'); mat = str2double(v...
23 days 前 | 0
a = [4,5,6,7,8,9,10,11,12,13; 104,105,106,107,108,109,110,111,112,113; 204,205,206,207,208,209,210,211,212,213; 304,305,306,307,...
24 days 前 | 0
| 已接受
已提交
convert a numeric to a string with the english name of the number value (gb/in/us).
26 days 前 | 15 次下载 |
已提交
convert english number name/s written in a string to numeric value/s (gb/in/us).
26 days 前 | 7 次下载 |
已提交
generate maximally distinct colors in an rgb colormap.
26 days 前 | 36 次下载 |
yes, that is the wrong date.... it is also the wrong data type: why are you using deprecated serial date numbers? the datenum d...
27 days 前 | 0
| 已接受
"negating the days." i guess you really mean to ignore the days. format long g c = {'104d:11h:59m:38.934815s';'104d:11h:59m:3...
27 days 前 | 0
| 已接受
"is there a simple way to do this?" yes, cellfun and vertcat: x = {{1},{2},{3},{4}}; y = {{5},{6},{7;8},{9;10}}; z = cellfun...
27 days 前 | 1
| 已接受
fun = @(v) sort(v,'descend'); new_cell_array = cellfun(fun, cell_array, 'uniformoutput', false);
27 days 前 | 0
| 已接受
datestr(timeseries(i),formatout) most likely timeseries is a serial date number, the use of which is also discouraged and most ...
28 days 前 | 0
| 已接受
textscan is very efficient, and imports numeric data as numeric (i.e. no fiddling around with text): fmt = repmat('%f',1,25); ...
28 days 前 | 2
| 已接受
assuming that: the fields are in the required order (otherwise: you can sort them using orderfields). the mat file contains on...
28 days 前 | 0
note that saving those huge lats&lons matrices is rather waste of space: you actually only need the first row/column. "is there...
28 days 前 | 0
| 已接受
data = readtable('headerfile.csv','readvariablenames', true, 'variablenamingrule','preserve')
28 days 前 | 2
| 已接受
"something wrong with "floor" or "fix" functions" nope, in fact those functions do absolutely nothing in your code. "or it's m...
29 days 前 | 1
| 已接受
first lets create a fake data file: writetable(array2table(rand(1e5,50),'variablenames',"v" (1:50)),"test.csv") now lets try s...
30 days 前 | 0
layers = [ ... sequenceinputlayer(numfeatures) lstmlayer(numhiddenunits) fullyconnectedlayer(numresponses) regressio...
30 days 前 | 0