David du Preez
Followers: 0 Following: 0
Statistics
RANK
17 023
of 295 467
REPUTATION
2
CONTRIBUTIONS
46 Questions
1 Answer
ANSWER ACCEPTANCE
84.78%
VOTES RECEIVED
3
RANK
of 20 234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Interpolated gridded data with limits
I have gridded data which I want to plot on a longitude/latitude map. I have used the following code: pcolor(lon1,S_latitude,su...
ungefär 4 år ago | 1 answer | 0
1
answerSolved
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
ungefär 4 år ago
Solved
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
ungefär 4 år ago
Solved
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
ungefär 4 år ago
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]; ...
nästan 5 år ago | 0 answers | 0
0
answersQuestion
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...
ungefär 5 år ago | 1 answer | 0
1
answerQuestion
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...
mer än 5 år ago | 0 answers | 1
0
answersQuestion
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...
mer än 6 år ago | 0 answers | 0
0
answersQuestion
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...
mer än 6 år ago | 2 answers | 0
2
answersQuestion
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 ...
mer än 6 år ago | 1 answer | 0
1
answerQuestion
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...
nästan 7 år ago | 1 answer | 0
1
answerQuestion
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 ...
ungefär 7 år ago | 1 answer | 0
1
answerQuestion
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'...
mer än 7 år ago | 1 answer | 0
1
answerQuestion
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. [...
mer än 7 år ago | 1 answer | 0
1
answerQuestion
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...
mer än 7 år ago | 1 answer | 0
1
answerQuestion
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...
mer än 7 år ago | 1 answer | 0
1
answerFind specific datenum in Matrix
% extract dates dates = datevec(SON_CS2_lowTCO(1:14,1)); % Remove h,m,s dates = dates(:,1:3); dates23 = dates; ...
mer än 7 år 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...
mer än 7 år ago | 1 answer | 0
1
answerQuestion
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...
mer än 7 år ago | 2 answers | 0
2
answersQuestion
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...
mer än 7 år ago | 3 answers | 0
3
answersQuestion
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...
mer än 7 år ago | 1 answer | 0
1
answerQuestion
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 ...
mer än 7 år ago | 1 answer | 0
1
answerQuestion
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...
mer än 7 år ago | 1 answer | 0
1
answerQuestion
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...
mer än 7 år ago | 2 answers | 0
2
answersQuestion
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...
mer än 7 år ago | 2 answers | 0
2
answersQuestion
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...
mer än 7 år ago | 1 answer | 0
1
answerQuestion
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...
mer än 7 år ago | 1 answer | 0
1
answerQuestion
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...
mer än 7 år ago | 2 answers | 0
2
answersQuestion
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...
mer än 7 år ago | 2 answers | 0
2
answersQuestion
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...
mer än 7 år ago | 3 answers | 0