Feeds
질문
Plotting data on curvilinear coord projection
Hello, I have two lat and lon matrices, each 622x810 and they are of a curvilinear projection. I previously just used vectors...
8년 초과 전 | 답변 수: 3 | 0
3
답변질문
Statistical difference between a number of matrices.
Hey, I am trying to find a statistical approach to comparing the differences between matrices in a 3D matrix. I have a 3D mat...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
Find mean value of grid cells found within a coarser grid cell
Hello, I have two grid, one that is 121x97 (lat_1 & lon_1 in the attached data) and the other is 6x7 (coarser grid, lat_2 & l...
8년 초과 전 | 답변 수: 2 | 1
2
답변질문
Gpfit error on line 74. Not even working with the given matlab example.
Hi there, It appears that upgrading matlab to 2016a made no difference to my problem and once again, I cannot even perform th...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
Return period wind over 25 m/s
Hello, I have a dataset of daily maximum wind gusts across a certain domain and for each grid cell, I would like to find the ...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
Divided colorbar automatically. Stop the blending of colors displayed
Hi there, When I use the colorbar function I get a scale of blended colors and I would like to demarcate each color without h...
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
Loss of precision with netcdf time when using datenum
Hi there, I am trying to read the time variable in from an netcdf file and convert it to datenum values but the end time alwa...
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
Add arrows to surface plot to represent wind direction
Hi there, I am seeing a lot of information about the quiverm function but I only have my wind direction data in degrees and n...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Check if subsequent elements in a 3D matrix are the same value
Hello, I have a 121x97x51135 matrix of 1's and 0's which flag certain periods of time. I would like to produce new variables ...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Bootstrap wind data to account for autocorrelation and obtain new slope
Hi there, I have a sample dataset (12783x2) containing the time and wind speed values overs 35 years (6 hour intervals). I ha...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Plot bilinear interpolated gridded data spatially on a map (Cannot get Interp2 to give smooth output)
I am using the following code to plot gridded data on a map over a region but I would like to know how to plot the interpolated ...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Filter regions in data with 'obvious' irregular linear trend
Hello, I have a dataset that I am plotting but there are clear trends occurring within the data that I would like to remove. ...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Add regions of statistical significance to a map plot
Hello, I am using the following to map out a trend in data over a region: ax = worldmap(latlim, lonlim); S = shaperea...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Improve speed to max calculation for max daily output
Hi there, I have done a good few variations of this and this code is the simpliest but not the most time efficient and it see...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Merge 3D matrices into one cell array without using a loop
I have three 3D matrices (mxnxt) that I would like to merge into a single array of mxn with each array holding the corresponding...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
For loop slows down on row 25 of 3D matrix and does not advance and original speed. What may be the issue?
Hi everyone, I am using the following code to calculate a given parameter. I have included a progress bar for testing purpose...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Load time from netcdf file and retain the 'Hour' value
Hello, I have a time variable (attached) that I created from using netcdf_time = ncread('sample.netcdf','time'); Whe...
9년 초과 전 | 답변 수: 4 | 3
4
답변질문
Best tool for analysing/altering netcdf data (beyond read-only)
Hello, I have a large netcdf file that I would like to do some processing on. CDO software is not adequate enough and I need ...
9년 초과 전 | 답변 수: 3 | 1
3
답변질문
Box plots of scatter between two variables for each bin.
Hi everyone, I am trying to make your standard box plot graph but using the scatter between two variables for each bin. For i...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
Best way to export figure of high quality
Hi everyone, Now I know there is a copious amount of data on the web on this and I tried export_fig, print, saveas and every ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Double precision changes to complex double after calculation
Hi everyone, I have a matrix with very simple data in double precision but after doing a calculation (listed below) some of t...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
Import text file with blank lines. Matlab not replacing them with NaN
Matlab is not replacing my blank lines in my txt file with NaN but just joins all the data together. Unfortunately I need to dat...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Too many arguments with lsline even using Matlab example
Hi everyone, Strangely, using the code given by Matlab for lsline, I get the too many arguments error. Any ideas? Probably on...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
Saving figure with large number of data points.
Hi everyone, I have a figure with 6 scatter subplots on it, each with a large number of data points on them (unfortunately, I...
9년 초과 전 | 답변 수: 2 | 0
2
답변답변 있음
How to add arrows to lines or dots in the matlab simulink
Commented on your other post, here is the link: http://uk.mathworks.com/matlabcentral/fileexchange/31473-line2arrow--add-an-a...
How to add arrows to lines or dots in the matlab simulink
Commented on your other post, here is the link: http://uk.mathworks.com/matlabcentral/fileexchange/31473-line2arrow--add-an-a...
거의 10년 전 | 0
답변 있음
How to add arrows to lines
Hi Sathish, you can use this code. works really well actually and pretty easy to use: http://uk.mathworks.com/matlabcentra...
How to add arrows to lines
Hi Sathish, you can use this code. works really well actually and pretty easy to use: http://uk.mathworks.com/matlabcentra...
거의 10년 전 | 0
답변 있음
Plot 3 scale graph
Hi Anoop, you can do this Weight=(37000:2000:74000); CG=(16:1:42); Index=(((Weight/1000)*(CG-25)*0.041935)+50); ...
Plot 3 scale graph
Hi Anoop, you can do this Weight=(37000:2000:74000); CG=(16:1:42); Index=(((Weight/1000)*(CG-25)*0.041935)+50); ...
거의 10년 전 | 0
질문
Adjusting plot fill to show two colours depending on overestimation/underestimation
Hello, I have the following code to plot my observed readings versus my modelled readings and the code works fine but does no...
거의 10년 전 | 답변 수: 2 | 0
2
답변답변 있음
How to save every iteration and answer for a numerical Solve function in a for loop
Hi Lindsey, You can preallocate g outside of your loop and then within your loop you can assign each row and col the correspo...
How to save every iteration and answer for a numerical Solve function in a for loop
Hi Lindsey, You can preallocate g outside of your loop and then within your loop you can assign each row and col the correspo...
거의 10년 전 | 0
질문
using colormap to assign one color for values => 0 and one for < 0
Hi, I am having no luck using colormap or caxis to set the limits of the two colors on the colorbar. Is there a way (not usin...
거의 10년 전 | 답변 수: 1 | 0