Community Profile

# mashtine

50 total contributions since 2014

View details...

Contributions in
View by

Question

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

oltre 3 anni ago | 3 answers | 0

### 3

Question

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

oltre 3 anni ago | 1 answer | 0

### 1

Question

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

oltre 3 anni ago | 2 answers | 1

### 2

Question

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

circa 4 anni ago | 1 answer | 0

### 1

Question

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

circa 4 anni ago | 1 answer | 0

### 1

Question

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

circa 4 anni ago | 2 answers | 0

### 2

Question

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

circa 4 anni ago | 2 answers | 0

### 2

Question

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

oltre 4 anni ago | 1 answer | 0

### 1

Question

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

oltre 4 anni ago | 1 answer | 0

### 1

Question

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

oltre 4 anni ago | 1 answer | 0

### 1

Question

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

oltre 4 anni ago | 1 answer | 0

### 1

Question

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

oltre 4 anni ago | 1 answer | 0

### 1

Question

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

oltre 4 anni ago | 1 answer | 0

### 1

Question

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

oltre 4 anni ago | 1 answer | 0

### 1

Question

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

oltre 4 anni ago | 2 answers | 0

### 2

Question

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

oltre 4 anni ago | 1 answer | 0

### 1

Question

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

oltre 4 anni ago | 2 answers | 2

### 2

Question

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

oltre 4 anni ago | 3 answers | 1

### 3

Question

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

circa 5 anni ago | 0 answers | 0

### 0

Question

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

circa 5 anni ago | 1 answer | 0

### 1

Question

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

circa 5 anni ago | 2 answers | 0

### 2

Question

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

circa 5 anni ago | 1 answer | 0

### 1

Question

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

circa 5 anni ago | 2 answers | 0

### 2

Question

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

circa 5 anni ago | 1 answer | 0

### 1

How to add arrows to lines or dots in the matlab simulink

circa 5 anni ago | 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...

circa 5 anni ago | 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); ...

circa 5 anni ago | 0

Question

Adjusting plot fill to show two colours depending on overestima​tion/under​estimation
Hello, I have the following code to plot my observed readings versus my modelled readings and the code works fine but does no...

circa 5 anni ago | 2 answers | 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...

circa 5 anni ago | 0

Question

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

circa 5 anni ago | 1 answer | 0