Community Profile

photo

David du Preez


Last seen: Today
46 total contributions since 2016

Contact

David du Preez's Badges

  • Thankful Level 3

View details...

Contributions in
View by

Question


Save web map display as image
I have made a web map display in the web browser with the following: webmap('World Street Map') lat = [-26.13390,-26.133429]; ...

3 months ago | 0 answers | 0

0

answers

Question


Change color outside region of polyshape
I have gridded data between -40°S 0°S to 10°E to 45°E. I have manged to plot this data and add the borders of the countries ove...

6 months ago | 1 answer | 0

1

answer

Question


Display netcdf data over specific country
I have a netcdf file containg data for a region over southern africa. I only want to plot the data over South Africa and not the...

1 year ago | 0 answers | 1

0

answers

Question


Seasonal adjustment with missing data
I have a monthly time-series of data from 1990-2018 but some months do not have any data and some months have mulitple data poin...

1 year ago | 0 answers | 0

0

answers

Question


Use cell array contents to name new cell array
I can import data from an excel file with 58 sheets. Each sheet has a different number of rows. %Gives sheet names and ro...

2 years ago | 2 answers | 0

2

answers

Question


Create formatted file using regular expressions
I have an unformatted text file with data for 45 variables. The text file reads in a continuous line and some variables are not ...

2 years ago | 1 answer | 0

1

answer

Question


Import csv files with sequential names
I have several csv files with the following names: 19660101.Dobson.Beck.089.SAWS 19660201.Dobson.Beck.089.SAWS 196603...

2 years ago | 1 answer | 0

1

answer

Question


Plot netcdf variable over south pole
I have a netcdf file. <https://drive.google.com/file/d/0B0wQbicZOF7xa053WUJ5Q19YWEU/view> I want to plot the tco variable of ...

2 years ago | 1 answer | 0

1

answer

Question


Plot 3 lines using plotyy
Using plotyy. I want to plot 2 lines on the left y axis and 1 line on the right y axis. I tried something like this but it didn'...

2 years ago | 1 answer | 0

1

answer

Question


Double y-axis plot. Change properties of second axis
I am using MATLAB 2011B. I want to limit the second y-axis between 5 and 10 and I want ticks to occur every 2.5 units. [...

2 years ago | 1 answer | 0

1

answer

Question


Remove rows by time with datenum
Hi.I have a mx15 matrix. In column 1 are datenum values (datenum(Y,M,D,H,MN,S)). I want to remove rows if the time is earlier th...

2 years ago | 1 answer | 0

1

answer

Question


Add 2 trendlines to scatter plot
Hi, I want to make a scatter plot and then add a liner fit line as well as a exponential fit line to the scatter plot and displa...

3 years ago | 1 answer | 0

1

answer

Answered
Find specific datenum in Matrix
% extract dates dates = datevec(SON_CS2_lowTCO(1:14,1)); % Remove h,m,s dates = dates(:,1:3); dates23 = dates; ...

3 years ago | 0

| accepted

Question


Find specific datenum in Matrix
Hi. I have a 14x14 (A)matrix.In column 1 are datenum values corresponding to a random hour of a day. I want to use these datenum...

3 years ago | 1 answer | 0

1

answer

Question


Select row from matrix based on month with datenum
Hi. I have 2 matrices. A(12x1) contains month averages(Jan-Dec) and B(437x14) which contains daily values for specific days from...

3 years ago | 2 answers | 0

2

answers

Question


Delete every n rows if less than x
Hi I have a m x 14 matrix. I want to consider the first 24 rows. If the value in coulmn 5 in row 14 is less than x, then delete...

3 years ago | 3 answers | 0

3

answers

Question


Double y-axis plot
Hi I have a 495x4 matrix. In column 1 are datenum values, column 2,3 and 4 contain data. I want to plot the data from all 3 col...

3 years ago | 1 answer | 0

1

answer

Question


Compare matrices with datenum
Hi. I have 2 matrices. The first matrix A, (12x1) contains the monthly average values over 10 years. Row 1 is January, row 2 is ...

3 years ago | 1 answer | 0

1

answer

Question


Find area under curve of every n rows
Hi. I have a 648 x 14 matrix. I want to calculated the area under the curve of every 24 values created by the values in column 5...

3 years ago | 1 answer | 0

1

answer

Question


Find negative in every n rows
I have a 2184 x 14 matrix. In column 1 is the datenum value and in column 14 the values that I want to consider. The other colum...

3 years ago | 2 answers | 0

2

answers

Question


Adding datenum to plots
Hi. I have 2924 x 2 matrix. In column 1 is the daily datenum value from 2007-2016. These in are not necessarily continues as som...

3 years ago | 2 answers | 0

2

answers

Question


Subtract rows in matrix using loop
Hi, I have a 11 x 3541 matrix. For each column I want subtract; row1 from row1 then,row1 from row 2 then, row2 from row 3 and so...

3 years ago | 1 answer | 0

1

answer

Question


Change matrix dimensions and keep the order
I have a 1 x 744 matrix that contains hourly data for one month. The 24 columns contain the data for one day the next 24 for the...

3 years ago | 1 answer | 0

1

answer

Question


Sort matrix by datenum
I have a 88416 x 13 matrix. Column 1 contains the datenum values. I want to sort the matrix by column 1 keeping the correspondi...

3 years ago | 2 answers | 0

2

answers

Question


Extract rows from matrix based on date
I have a 88416 x 11 matrix. Hourly date and time datenum values are in column 1. The hourly date range is from 2006-12-1 to 2016...

3 years ago | 2 answers | 0

2

answers

Question


Date/time matrix for every hour.
I want to to create an hourly date/time matrix starting from 2006-12-01 and ending: 2016-12-31. It must start at midnight and en...

3 years ago | 3 answers | 0

3

answers

Question


Find correlation coefficient of every nth row
I have two 121x14 matrices. I want to find the correlation coefficient of column 8 in each matrix. So I have made two matrices ...

3 years ago | 1 answer | 0

1

answer

Question


Flip matrix by every nth row
I have a 121x14 matrix. I want to flip the first 11 rows vertically and repeat so on for the rest of the matrix. I know it is po...

3 years ago | 1 answer | 0

1

answer

Question


Find minimum and create a new matrix
I have a 242x14 matrix. I want to look at the first 22 lines and find the minimum value in column 10. Then I want to create a ne...

3 years ago | 1 answer | 0

1

answer

Question


Delete rows based on column value
Hi. I have a 8761x14 matrix. I wanted to consider the first 24 rows as I have hourly data. If all the values in column 8 are zer...

3 years ago | 1 answer | 0

1

answer

Load more