Community Profile

photo

Dave


30 total contributions since 2014

Contact

Dave's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


"See" max 2nd-to-max values per column (by coloring entry)
Hello, is there a way to "see" the max and second-to-max by columns in a 100x20 array? If, so, where would you see it? I underst...

19 Tage ago | 1 answer | 0

1

answer

Question


save figure "dynamic"
x=[1, 2, 3, 4]; y=[10, 100, -20, 300]; plot(x,y) Hello, Is there a way generate and save in extension eps or similar a "dynam...

3 Monate ago | 1 answer | 0

1

answer

Question


Find common elements between two vectors and extract data from matrix (vectorized)
Hello, I understand this is different question than the one answered in https://www.mathworks.com/matlabcentral/answers/44285...

7 Monate ago | 1 answer | 0

1

answer

Question


Using FIND for common elements WITHOUT a loop (Vectorized?)
Hello, I have an array A 100x1 with different datenum that I need to find in a big array B 5000000x1 (all datenum in B are...

7 Monate ago | 1 answer | 0

1

answer

Question


Browse, search, click , save?
Hello Is there something similar to VBA: Dim myBrowser As Internet Explorer ... myBrowser.Document.getElementById("na...

8 Monate ago | 2 answers | 0

2

answers

Question


Table: Reshape based on Cell Column and Sort
Is there a way to reshape or transform a table 7x3 table into a table with as many columns as the unique elements of a cell colu...

8 Monate ago | 1 answer | 0

1

answer

Question


readtable changing range (not all contents)
Hello, Manually Importing an XLS file (right click import data) the window by default highlights a matrix, say C10:X90 If I m...

9 Monate ago | 1 answer | 0

1

answer

Question


Input search string then record search result from a website
Hello all, I tried urlfilter, websave, webread, webwrite I have to search in a website by entering a search string in the we...

10 Monate ago | 0 answers | 0

0

answers

Question


xlswrite from cell and strcat error 0x800A03EC
GreetingsI have a variable A={'H$1';'H$2';'H$3'} %a 4x1 cell % I need to generate an xlsx file with =(YesH$...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Question


save to 2nd decimal, then add brackets
I needed to round a matrix of double to the second decimal. And also convert the second row such that each entry is in brackets,...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Question


Combine two columns into one by first two rows A two rows B and so on
Hi, I want to combine two columns A and B (both 4x1) into one column C by using first the first two rows of A, then the first tw...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Answered
last daily observation in a month (not lbusdate)
Solved, used accumarray with @max

fast 2 Jahre ago | 0

| accepted

Question


last daily observation in a month (not lbusdate)
is there a way to keep only the last observation in a month from a datenum vector? For example A= 729530 ...

fast 2 Jahre ago | 1 answer | 0

1

answer

Question


plotyy: manually modify secondary axis label position
How can I manually modify the position of the right y-axis label in a plotyy figure? In a plotyy, once I View/PlotBrowser and...

etwa 3 Jahre ago | 0 answers | 0

0

answers

Question


Align subplots non-manually
I have a figure with 5 subplots. Aside from doing it manually, is there are a way to set a 2x3 subplot figure in a way that th...

etwa 3 Jahre ago | 1 answer | 0

1

answer

Question


Create a folder for each iteration and save workspace and figures
Hello, I need to save the workspace and figures for each iteration. The resulting workspace and figures should be placed in a n...

mehr als 4 Jahre ago | 2 answers | 0

2

answers

Question


If only one positive elem per row (rest are 0), then fill both sides of positive element
Hi, I have a square matrix of non-negative elements. In each row, at least one element is positive. For rows where there is...

mehr als 4 Jahre ago | 3 answers | 0

3

answers

Question


Remove sub-matrix if any col are all nan (3D matrix)
Hi, In a 3D matrix, I have 4 sub-matrices of 3x3, like A below A=[1 2 nan; 2 5 nan; 4 2 nan]; A(:,:,2)=[3 4 5; 4 nan na...

mehr als 4 Jahre ago | 1 answer | 0

1

answer

Question


Repeat previous row if condition
Hi, I have an nx2 matrix, the first column gives the order, 10 20 30 40 and then repeats again, but if there is no observation ...

mehr als 4 Jahre ago | 2 answers | 0

2

answers

Question


Convert to serial using only year and month (no day)
Is there a way to convert from matrix A (5x3) where the first element is year and the second element is month (no day element) ...

mehr als 4 Jahre ago | 2 answers | 0

2

answers

Question


Superimpose matrices of different sizes
Hello, I have matrix A 2x5 of NaN A=... [NaN NaN NaN NaN NaN; NaN NaN NaN NaN NaN] and another B matrix 2x3: ...

mehr als 4 Jahre ago | 2 answers | 0

2

answers

Question


2D matrix to 3D matrix given index in the 2D matrix col1
Hello, I need to construct a 3D matrix using a 2D matrix. As an example, take matrix A which is 7x4. First element of fir...

mehr als 4 Jahre ago | 1 answer | 0

1

answer

Question


fmincon non linear constraint: too many input arguments
Hello, I need to minimize a log-likelihood function subject to a non-linear constraint. So I created a function for this constr...

fast 5 Jahre ago | 1 answer | 0

1

answer

Question


Monthly averages for each year using daily data in datenum form
Hi, I have matrix A (4000x2), the first column is daily data in datenum form. For example I have 734459, which using datestr br...

fast 5 Jahre ago | 1 answer | 0

1

answer

Answered
Simil to VLOOKUP (but ismember index 0)
Thanks a lot, that solves my problem.

fast 5 Jahre ago | 0

Question


Simil to VLOOKUP (but ismember index 0)
Hello, I have array A 10x1 and array B 3x2 as below A=[1; 2; 3; 4; 5; 6; 7; 8; 9; 10]; B=[2 100; 4 500; 7 300]; I nee...

fast 5 Jahre ago | 2 answers | 0

2

answers

Question


fminsearch terminates/converges for a high fval
Hello, I am trying to estimate the parameters of a function but the optimization terminates even though the objective function i...

fast 5 Jahre ago | 1 answer | 0

1

answer

Answered
elseif using specific sets
I'll use "while" instead, thanks though X=[1 2; 0 1; -1 4; 4 7; 10 10; 0 0] ii=1 y=1e-10 while y<10 y=X(ii,1)+X...

fast 5 Jahre ago | 0

| accepted

Question


elseif using specific sets
Hello, I need to evaluate a function for specific sets, ideally don't want to evalute the function for all sets so once it is ab...

fast 5 Jahre ago | 1 answer | 0

1

answer

Question


Find repeated row from col1, average repeated from col2, erase repeated row
Hi, I have matrix A (7x2) where the first column has some repeated rows A=[54.5 300; 56 250; 57 100; 56 600; 56.5 700; 57 80...

fast 5 Jahre ago | 1 answer | 0

1

answer