Community Profile

photo

David du Preez


Last seen: plus de 2 ans il y a Actif depuis 2016

Statistiques

All
  • Solver
  • Thankful Level 4

Afficher les badges

Content Feed

Afficher par

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...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

A résolu


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 ...

plus de 3 ans il y a

A résolu


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...

plus de 3 ans il y a

A résolu


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:...

plus de 3 ans il y a

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]; ...

environ 4 ans il y a | 1 réponse | 0

0

réponse

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...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

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...

presque 5 ans il y a | 1 réponse | 1

0

réponse

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...

plus de 5 ans il y a | 1 réponse | 0

0

réponse

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...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

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 ...

presque 6 ans il y a | 1 réponse | 0

1

réponse

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...

environ 6 ans il y a | 1 réponse | 0

1

réponse

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 ...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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'...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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. [...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

A répondu
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; ...

plus de 6 ans il y a | 0

| A accepté

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...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 6 ans il y a | 2 réponses | 0

2

réponses

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...

presque 7 ans il y a | 3 réponses | 0

3

réponses

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...

presque 7 ans il y a | 1 réponse | 0

1

réponse

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 ...

presque 7 ans il y a | 1 réponse | 0

1

réponse

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...

presque 7 ans il y a | 1 réponse | 0

1

réponse

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...

presque 7 ans il y a | 2 réponses | 0

2

réponses

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...

presque 7 ans il y a | 2 réponses | 0

2

réponses

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...

presque 7 ans il y a | 1 réponse | 0

1

réponse

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...

presque 7 ans il y a | 1 réponse | 0

1

réponse

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...

presque 7 ans il y a | 2 réponses | 0

2

réponses

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...

presque 7 ans il y a | 2 réponses | 0

2

réponses

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...

presque 7 ans il y a | 3 réponses | 0

3

réponses

Charger plus