Community Profile

photo

dpb


3,802 total contributions since 2012

Contact

dpb's Badges

  • Thankful Level 2
  • 36 Month Streak
  • Ace
  • Revival Level 1
  • Knowledgeable Level 4
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
How to normalize curves with multiple peaks such that each peak will be 1 and each valley will be 0?
If you mean 'builtin' already coded to do that, "No, I don't think so!" I've never seen it actually done before; don't think it...

약 14시간 ago | 0

| accepted

Answered
CUSUM and CUMSUM, cusum not found
>> which -all cusum C:\ML_R2017\toolbox\signal\signal\cusum.m >> Your present release apparently doesn't have the Signal Pro...

1일 ago | 2

Question


ISMEMBER() modified result desired
[lia,locb]=ismember(A,B); returns the first/last matching location in B of the elements in A that occur in B depending on which...

1일 ago | 2 answers | 0

2

answers

Answered
Create new vector from 2 differnet cells
You could use loops, but that's not "the MATLAB way!"... This also superfically seems like a place cell arrays may be in the wa...

2일 ago | 0

| accepted

Answered
How to remove period stamp in datetime plot ?
This was a side subject of a thread some time back with the need to combine durations with times at which the event durations oc...

2일 ago | 2

Answered
How to load text file and extract number from file that is not organized into columns?
That's a very nicely organized file in the sections...you just have to know what the section headers are and which you want... ...

2일 ago | 0

| accepted

Question


Debug and Focus, Huh?
Is there no way to make focus stay in command window instead of jumping to editor when reach breakpoint???? Am always typing on...

6일 ago | 2 answers | 0

2

answers

Answered
MATLAB Answers Wish-list #4 (and bug reports)
I would put a hard character limit of (say) 50 characters on the Title -- mandate that the question is in the text, do NOT even ...

8일 ago | 0

Answered
Writing multiple matrices into text file
fid(i)=fopen(filename, 'wt'); From the doc for fopen -- permission: 'w' Open or create new file for writing. Discard e...

8일 ago | 0

| accepted

Answered
Hello, i want to display separate (side by side) bar on one graph. below is my code but its display bars on single column. and image what i should do?
AMENDED: Rank = [15678 10987 15243 3467 1234; 1111 3456 13456 3345 1038].'; C = categorical ({'Google','Bin...

9일 ago | 0

| accepted

Answered
Explode cell that are into another cell
OK, I overlooked the regular expression in the format string that sucks up all of those extra blanks at the end of the odd-man-o...

12일 ago | 1

Answered
Preallocate char array: Wrong values
Any array must be rectangular; char() arrays are no different. The array must be as wide (have as many columns) as the longest ...

12일 ago | 0

| accepted

Answered
compile MatLab into standalone exe, how to pass matrices as input.
"[A]rguments can be passed to standalone applications created using MATLAB® Compiler™ in the same way that input arguments are ...

12일 ago | 0

| accepted

Answered
Change figure legend horizontal spacing
Something legend gives no control of directly Increase the width of the legend will spread them out hLg=legend('gefeuert','ni...

13일 ago | 1

Answered
xlswrite Issue: not writing an entire column
The first column of data is a column of cells each containing a cell containing... xlswrite can't handle that. data(:,1)=...

13일 ago | 0

Answered
Percentage of each elements in a 3d matrix
There's no point in the output array having P planes... V=value; [~,~,N]=size(A); B=100*sum(A>V,3)/N;

15일 ago | 1

| accepted

Answered
How to make a while loop fill out an array?
Tlist = { 'DEB' 'DEB' 'TFR' 'DEB' 'DD' 'DEB' 'FPI' 'DEB' 'CPT'}; lup={'DEB','DD','CPT','FPI','FPO','CHG','TFR'}; >> [~,Tt]=i...

16일 ago | 1

| accepted

Answered
How can i find the average for specific rows
Put into a table and use grpstats and friends...

16일 ago | 0

Answered
what is wrong with the following code, i get the following massege :Subscripted assignment dimension mismatch. Error in Untitled3 (line 14) y2(i)=purelin(y22);
... x=b(:,i); y1=w1*x+b1; y1=tansig(y1); y22=w2*y1+b2; where b --> 3x1 b1 --> 3x1 b2 --> 2x1 w1 --> 3x3 w2 --> ...

21일 ago | 0

Answered
How to extract a subset of person identified data from several excel files into one excel file
Well, there's a lot of code that will read a spreadsheet, but there's probably nothing that you can just blindly throw at the pa...

21일 ago | 1

| accepted

Answered
using acummarray to average several columns at a time?
t=readtable('sampledata.xls','ReadVariableNames',0); % read file to table t.Properties.VariableN...

22일 ago | 1

Answered
creating a vector where each element needs to be calculated before hand
If X is a vector of numel(X) = 6, then Z=A*exp(B*X); if A,B are constants; otherwise it depends on what they are and what is t...

23일 ago | 0

| accepted

Answered
Find number of row in a table.
Preliminaries... E1 =[1 1 4 5 1 1 3 1 1 1 2 5 1 1 1 1 3 ...

29일 ago | 1

| accepted

Answered
How to read Hd5 files in a folder with respect to dates which is itself in the file name
If you just want to retrieve files of a given date, then the simplest solution is mydate='01DEC'; % the dat...

29일 ago | 1

Question


Alternate Command Processor on Windows
Bad, bad, TMW! :) Appears the shell commands under Windows don't pay any attention to what user COMSPEC is...one gets CMD.EXE ...

약 1달 ago | 1 answer | 1

1

answer

Answered
Polarplot axis label: how to edit the value?
hPP=polarplot(x,y); % plot, save handle hPA=hPP.Parent; % retrieve polar axes handle (parent of polar...

약 1달 ago | 1

| accepted

Answered
Error in ode45 Question
The error message is quite explicit as to at least one problem -- the output from your function MSsys must be a column vector an...

약 1달 ago | 0

Answered
Extract values from a matrix using a for loop
for i=1:20 A1=A(i:i+2,i:i+2); ... The first indices into A are the same as the second expression. i i:i+2 A subsc...

약 1달 ago | 0

Answered
Dimensions of arrays being concatenated are not consistent error.
result_file.ActualSpeaker = T.Label{1}; ... result = [result; struct2table(result_file)]; You're trying to catenate char() ar...

약 1달 ago | 1

Answered
how to average multiple monthly data?
Convert to table or timetable and use retime and/or findgroups/splitapply for these kinds of operations.

약 1달 ago | 0

| accepted

Load more