Answered
How to find days that are togheter
%Get rid of "multiple-days" [a,~] = size(M); M2 = M(1,:); for i = 2:a if M(i,3) ~= M(i-1,3) M2...

12 years ago | 0

Answered
Code generates one more column than needed
You have a typo in the second "mr" loop and you forgot to pre-initialize mr. So you basically either got a copy of m with a zer...

12 years ago | 0

| accepted

Answered
How do I store à calculated value in a loop in a Vector ?
No idea what type of loop you are using or what you are trying to calculate, but maybe this can help. (You should always add a s...

12 years ago | 1

Answered
Get y coordinate for x = 0 from linear trendline
I just figured it out. It won't work for all types of trend lines, but it solves my problem. Since x starts at zero, I can ea...

12 years ago | 0

| accepted

Question


Get y coordinate for x = 0 from linear trendline
Hi. I have a scatter of three coordinates: %scattered values (y1...4 are numbers between 0 & 1, x1...4 are numbers betwee...

12 years ago | 1 answer | 0

1

answer

Question


Import CSV file according to timestamp
Hello. I have a bunch of CSV (comma separated value) files that are named randomly based on the MAC ID of the logger that cre...

12 years ago | 1 answer | 0

1

answer

Question


cell2mat returns an error
Hi. I have a large 11000x1 cell array with string values that seems to look something like this in the variables window: A...

12 years ago | 2 answers | 0

2

answers

Question


Delete value of cell array and shift without just clearing it.
Hi. I have a cell array containing strings that looks something like this: A = {'A'; 'B'; 'C'; 'D'; '1000'; 'E'; 'F'; '...

12 years ago | 1 answer | 0

1

answer

Question


Combine two cell arrays containing string values into one.
Hi. I have two cell arrays that look something like this: A = {'1.'; '2.'; '3.'; '4.', '5.'}; B = {'A'; 'B'; 'C'; 'D'...

12 years ago | 1 answer | 0

1

answer

Question


Tricky correction of faulty time list
Hi. I have a Nx1 cell array containing different time values as strings, mixed wildly. It looks something like this: 12:00...

12 years ago | 2 answers | 0

2

answers

Question


How to delete columns of a matrix containing specific values in bottom row
Hi. I am working on a program that generates a 2xN matrix that looks something like this ModRows = [7 11 21 27 243 2817 31...

12 years ago | 1 answer | 0

1

answer

Question


Create black line on colorbar to mark specific value
Hi again. I have been working on a GUI that creates a contour depending on certain slider values. I have elevated a specif...

12 years ago | 3 answers | 1

3

answers

Answered
Matlab GUI figure axes goes blank after using slider ca. 20 times.
Just found a variable that does not get defined at a certain value of one of the sliders. Making sure it always gets defined see...

12 years ago | 0

| accepted

Answered
clear axes in GUI figure in callback function
I figured out the solution to my second problem. Just had to set the callback function of all the other sliders to the one of t...

12 years ago | 0

Question


Matlab GUI figure axes goes blank after using slider ca. 20 times.
Hi. I have written a code for a GUI figure that creates a contour using sliders. The first problem was that after running ...

12 years ago | 1 answer | 0

1

answer

Question


2D Contour colormap too dark.
Hi. I have a problem. I made a colormap matrix "b" by picking out the rgb colour codes using Photoshop. However, the Matla...

12 years ago | 1 answer | 0

1

answer

Question


Change amount of ticks on a colorbar
Hi. I have a 2D contour contour(handles.Object,x,y,z,...) where I set the colour map using an rgb matrix b = (...

12 years ago | 2 answers | 1

2

answers

Answered
clear axes in GUI figure in callback function
Thanks for the reply. It didn't work though. I tried putting cla(handles.Scosts,'RESET') at the beginning of the cal...

12 years ago | 0

Question


clear axes in GUI figure in callback function
Hi. I designed a GUI figure that makes a contour with a text that changes depending on the values determined by sliders. H...

12 years ago | 3 answers | 0

3

answers

Question


Elevate a single isoline in a contour (2D) plot
Hi. I have a 2D contour plot in the form of contour(x,y,z,'LevelStep',2,'Fill','on') which gives me isolines varying be...

12 years ago | 1 answer | 0

1

answer