Feeds
提问
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...
4 years 前 | 1 个回答 | 0
1
个回答已解决
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 ...
4 years 前
已解决
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...
4 years 前
已解决
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:...
4 years 前
提问
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]; ...
5 years 前 | 0 个回答 | 0
0
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 0 个回答 | 1
0
个回答提问
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...
6 years 前 | 0 个回答 | 0
0
个回答提问
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...
6 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
6 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
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'...
7 years 前 | 1 个回答 | 0
1
个回答提问
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. [...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答已回答
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; ...
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; ...
7 years 前 | 0
| 已接受
提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 2 个回答 | 0
2
个回答提问
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...
7 years 前 | 3 个回答 | 0
3
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 2 个回答 | 0
2
个回答提问
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...
7 years 前 | 2 个回答 | 0
2
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 2 个回答 | 0
2
个回答提问
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...
7 years 前 | 2 个回答 | 0
2
个回答提问
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...
7 years 前 | 3 个回答 | 0