Community Profile

# mashtine

Attivo dal 2014

#### Content Feed

Visto da

Domanda

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

quasi 7 anni fa | 3 risposte | 0

### 3

risposte

Domanda

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

quasi 7 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 7 anni fa | 2 risposte | 1

### 2

risposte

Domanda

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 7 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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 7 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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 7 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

oltre 7 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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 7 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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 7 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 8 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

quasi 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 8 anni fa | 4 risposte | 3

### 4

risposte

Domanda

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

quasi 8 anni fa | 3 risposte | 1

### 3

risposte

Domanda

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 8 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

Risposto
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); ...

oltre 8 anni fa | 0

Domanda

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

oltre 8 anni fa | 2 risposte | 0

### 2

risposte

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

oltre 8 anni fa | 0

Domanda

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

oltre 8 anni fa | 1 risposta | 0

risposta