Community Profile

photo

dpb


Last seen: Today
4 688 total contributions since 2012

Contact

dpb's Badges

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

View details...

Contributions in
View by

Answered
Plot Multiple Variables Using One Y-Axis
No. The multiple values on the one y-axis option is only for table variables. Seems like woouldn't be that hard to add the abi...

environ 3 heures ago | 0

Answered
How i can change significant digit in App Designer UITable ?
Use the 'ColumnFormat' property to set the desired format by column. See the doc for "Table Properties" from the link in the ui...

environ 8 heures ago | 0

Answered
Matlab to excel and back! Q about using ActiveX
>> Excel = matlab.io.internal.getExcelInstance Excel = COM.Excel_Application >> excelWorkbook = Excel.Workbooks.Open(fullfil...

environ 23 heures ago | 0

Answered
Change zeros to Nans only at a certain page in a 3D matrix
x(x(:,:,3)==0)=nan; Start from inside out...above is isZ=(x(:,:,3)==0); x(isZ,3)=nan; w/o the temporary indexing array. ADD...

1 jour ago | 0

Answered
Matlab to excel and back! Q about using ActiveX
I'm unaware of anybody having written the specific tutorial/book you're looking for re: using COM for Excel with MATLAB...don't ...

1 jour ago | 0

| accepted

Answered
Copy elements to end of row vector - help needed!
A) c=c(:).'; B) " matrix 'a', in which stance and swing phases are included. In matrix 'b', in the rows, the indices are me...

1 jour ago | 0

Answered
How to display an error if a file doesn't exist
ftpobj = ftp('cddis.nasa.gov'); dirStr = sprintf('/gnss/data/daily/2020/brdc/'; cd(ftpobj, dirStr); for i=1:days2get ...

2 jours ago | 1

| accepted

Answered
Heatmap with specified color ranges?
Whether this does precisely what you're looking for or not, I dunno...but might be a starting point. Nothing like that built in...

2 jours ago | 0

Answered
Can I keep the text of my delimiter or LineEnding when using readcell, readtable, etc.?
OK, try the following for starters...probably cleaner way to do the splits given the indices and direct index manipulation but t...

3 jours ago | 1

Answered
What frustrates you about MATLAB? #2
Switching named parameter names for newer functions to not be compatible with old -- from the time of textscan on which goes way...

3 jours ago | 1

Answered
How to write a long equation with a long vector(s) shortly?
Vashist has right idea -- wil have to have a real name for the function/function file as can't be a multi-line anonymous functio...

3 jours ago | 0

Answered
Heatmap of One Variable
xy=num2str([1:4].','Test%d'); data=[2 1 1 0;nan 1 0 0;nan nan 2 1;nan nan nan 1]; hHM=heatmap(xy,xy,data); looks reasonably c...

3 jours ago | 0

Answered
turning functions into floating-point numbers
Evaluate the function over the range and use findpeaks

3 jours ago | 0

Answered
efficient ways to read and write complex valued data
Well, dunno how much faster/slower it might be; didn't try to time it, but trying something different-- Iffen by "interleaved" ...

4 jours ago | 0

Answered
Change axes x in stackedplot
See yesterday's news...<how-can-i-change-the-pspectrum-time-units> and, while it doesn't look related from the title, it's got t...

4 jours ago | 0

| accepted

Answered
find first and last index below threshold in a vector
Use find

4 jours ago | 1

| accepted

Answered
What frustrates you about MATLAB? #2
Stuff like <heatmap-axis-labels-printing-vertically> and <how-can-i-change-the-pspectrum-time-units>. Introducing all these mos...

4 jours ago | 1

Answered
How to change strange cell array within a table to double or categorical array
Well, it'd be easier to be sure if could actually know for sure what the data storage is, but guessing on account of the " surro...

5 jours ago | 0

| accepted

Answered
Locating characters in a string array
As the other respondent says, you don't need a corollary array unless the lookup isn't 1:1 with position (which your description...

5 jours ago | 1

Answered
Extrapolate using half the slope than in original data
You've got to match the two at the breakpoint...w/o data so didn't use but the endpoints to roughly match your figure... x=[1 2...

6 jours ago | 1

| accepted

Answered
How to change strange cell array within a table to double or categorical array
Use the optional valueset, and perhaps catnames inputs to categorical to define as desired.

6 jours ago | 0

Answered
What exactly does tStat of fitlm function refer to?
Well, it's the basic linear model hypothesis test statistic that each coefficient in the model is significantly different from t...

7 jours ago | 0

| accepted

Answered
How can I change the pspectrum time units?
t = seconds(0:length(x)-1)/fs; will fix it.

7 jours ago | 0

| accepted

Answered
Heatmap Axis Labels Printing Vertically?
Oh, TMW has done it again -- they've buried stuff inside opaque (to the user) objects that should be visible. I wish they would...

7 jours ago | 0

Answered
Issue with finding intersection between randomly generated matrices
The results for intersect are correct .. >> (A(16,:)-A_new(3,:)) ans = 1.0e-13 * 0 0 0.1421 >> The ...

8 jours ago | 0

| accepted

Answered
How to check each number in a user given vector
if nargin<3 GNSSflag = [0 0 0 0]; GNSS = {'GPS','GALILEO','GLONASS','BEIDOU'}; [indx,tf] = listdlg('ListString',G...

8 jours ago | 0

Answered
Remove the legends for some lines in a plot
If you only want the scatter points in legend, set the 'Annotation' property to not show the lines... plot(fittedX, fittedY...

8 jours ago | 0

Answered
Matlab command for plotting complex number?
See https://www.mathworks.com/help/matlab/creating_plots/plot-imaginary-and-complex-data.html

8 jours ago | 0

Answered
Merge datetime with another cell for export
Sure... >> c={datetime(now,'ConvertFrom','datenum'),pi} c = 1×2 cell array {[25-Jun-2020 08:22:52]} {[3.14]} >> wr...

8 jours ago | 0

| accepted

Answered
How to combine 2 Fits done with cftool
%% Fit: 'untitled fit 1'. [xData1, tmp] = prepareCurveData( Fqr, Prem ); yData1 = tmp+pi/2; % Set up fittype and options. ...

8 jours ago | 0

| accepted

Load more