Feeds
提问
I want to create an average 2d field every 10 timesteps within a 3d matrix (6000 x 100 x100) --> (600 x 100 x100)
I have for example a 3d matrix like (6000 x 100 x 100) with the first array being time, or the vector I want to average. How can...
10 years 前 | 1 个回答 | 0
1
个回答提问
removing boxes with a low amount of data points?
Hello, I have scattered data points on a 3127 x 254 grid. I would like to interpolate this onto a regular grid (which I have ...
10 years 前 | 1 个回答 | 0
1
个回答提问
How to calculate linear regression between two time series and remove?
I want to calculate the following between two time series: R^2, slope, intercept , p, q, and if possible q^hat ...
10 years 前 | 1 个回答 | 0
1
个回答提问
How can I plot land over a scatter plot? and how can I change the axis tickmark location?
*Problem 1:* I have a scatter plot (shown in attached picture), but I want to plot land over this and extend the space to ...
10 years 前 | 1 个回答 | 0
1
个回答提问
calculate the accumulation of a variable over time within a loop?
Hello, I have evaporation as daily values (m). I have calculated the weighted fieldmean, which gives me a vector with length ...
10 years 前 | 2 个回答 | 0
2
个回答提问
How to integrate using Matlab 2012a?
Hello, How can I integrate using MATLAB 2012a? I wish to integrate precipitation over land so that I get an accumulation of p...
10 years 前 | 1 个回答 | 0
1
个回答提问
Can someone explain this function?
I am currently trying to use the boundedline function to plots 95% confidence intervals (seen below). I have sucessfully managed...
10 years 前 | 0 个回答 | 0
0
个回答提问
Methods of interpolating onto a different grid?
Hello, I am currently using Triscatteredinterp to transform a regular grid (659 x 3600 x 1682) to this grid (659 x 3127 x 254...
10 years 前 | 0 个回答 | 0
0
个回答提问
How can I plot trajectories on top of a map?
I wish to plot different series of lat/lon values onto a map and connect together with a line (i.e. hurricane tracking). How ...
10 years 前 | 2 个回答 | 0
2
个回答提问
How can I plot overlay black land?
At the moment I have a plot that looks like the attached, with zero values being land. <</matlabcentral/answers/uploaded_fil...
10 years 前 | 5 个回答 | 0
5
个回答提问
how to area weight a regular grid?
I wish to weight my interpolated regular gridded data (132 x 120) so that; data * (area of each grid box) / sum(all gri...
10 years 前 | 0 个回答 | 0
0
个回答提问
Area weighting giving too low answers
I am trying the code below in order to area weight my data. The data looks good except it is 5 orders of magnitude lower than I ...
10 years 前 | 1 个回答 | 0
1
个回答已回答
How to reshape a vector without knowing the dimensions?
Thanks guys! I managed to do it!
How to reshape a vector without knowing the dimensions?
Thanks guys! I managed to do it!
10 years 前 | 0
提问
How to reshape a vector without knowing the dimensions?
Hello, I had a 3d matrix 663x3127x254. I removed NaN's using a mask and now I assume I have less elements on the left most di...
10 years 前 | 4 个回答 | 0
4
个回答提问
Why does it say "Subscripted assignment dimension mismatch" ? possibly because of NaN's?
I am interpolating triscattered data onto a regular grid. It works but then stops at t = 10, I don't know why it is doing this!....
10 years 前 | 1 个回答 | 0
1
个回答提问
convert time axis set in 10 day cycles to days?
I need to convert my time vector t = 723 x 1 in the format of 10-day cycles into just days, still keeping the same 723 size. ...
10 years 前 | 1 个回答 | 0
1
个回答提问
combine t axis with vector?
Hello, I have a time reference vector t= 723 x 1, and I have a data vector d = 723 x 1. I want to use harmonics to remove ...
10 years 前 | 0 个回答 | 0
0
个回答已回答
interpolate text file data onto different time axis
Thanks, linspace worked a treat!
interpolate text file data onto different time axis
Thanks, linspace worked a treat!
10 years 前 | 0
提问
interpolate text file data onto different time axis
Hello, I have a text file which when imported creates a 226 x 2 matrix, with time being the (:,1) and SSH being (:,2). I want...
10 years 前 | 3 个回答 | 0
3
个回答提问
combining variables into one matrix -from a single mat file, problem with struct to double conversion (getfield)
I want to combine 254 files included in a single .mat file to produce a matrix 723 x 3127 x 254, with each variable being 723 x ...
10 years 前 | 0 个回答 | 0
0
个回答已回答
combine a number of files together? cat,vertcat and horzcat do not work...
Thanks Geoff, however, it doesn't seem to work exactly. It complains that 'Error using load. Unable to read file TJJ_arc002:...
combine a number of files together? cat,vertcat and horzcat do not work...
Thanks Geoff, however, it doesn't seem to work exactly. It complains that 'Error using load. Unable to read file TJJ_arc002:...
10 years 前 | 0
提问
combine a number of files together? cat,vertcat and horzcat do not work...
Hey all! I have 254 files named blah_blah_001 until blah_blah_254. Each file has 723 x 3127 dimension and I want to combine a...
10 years 前 | 2 个回答 | 0
2
个回答提问
How to rename variables in a loop?
Hello, I want to load 254 files with the name 'TJJ_arc001' etc. Then I want to concatenate them together so that I go from ea...
10 years 前 | 2 个回答 | 0
2
个回答提问
How do I get axis information/attributes from netcdf file for plotting in matlab?
Hello, I have a netcdf file that contains extra information about the axis, such as the real depth values compared with the i...
10 years 前 | 1 个回答 | 0
1
个回答提问
ERROR: Input data must be specified in column-vector format.
I get the error 'Input data must be specified in column-vector format.' when trying to run the following code at the line of Tri...
10 years 前 | 1 个回答 | 0
1
个回答提问
I want to interpolate onto different grid, how can I do this?
I want to interpolate a 365 x 3127 x 254 grid onto an 365 x 84 x 180 grid. What is the best way to do this? I think I should...
10 years 前 | 0 个回答 | 0
0
个回答提问
How to create average of values within a grid box??
Hello everyone, I have data which looks like this: 3127 x 254 x 365 which represents the satellite data (index (3127) alon...
10 years 前 | 2 个回答 | 1
2
个回答提问
Rearranging matrix for interpolation and the problem of memory
Hi, I want to interpolate data onto satellite tracks using the following code: for day = 1:size(ssh_int,1); m...
10 years 前 | 1 个回答 | 0
1
个回答提问
Data is in MESHGRID format, NDGRID format is required. INTERP2 help please!
Hello, I am trying to interpolate 2d data along a satellite track using the following code: or yr = 1993%:2010; ...
10 years 前 | 2 个回答 | 0