Question

finding same pattern files from two different folders and copying to other folders

Hi everyone, I have two different folders (Folder 1 and Folder 2) that contain netcdf files from two different fields (UV, and ...

6 months ago | 1 answer | 0

Question

gfit error message in generalized Pareto (GP) distribution

Hello, I compute return period using gpfit (Generalized Pareto parameter estimates) to calculate the return period, while I c...

1 year ago | 0 answers | 0

Question

How to avoid cell2mat while reshaping cell arrays

Hi, I have 1 x 2 cell: 55430 x 2350 and 55430 x 2200 elements Try to avoid using cell2mat, is there any another way to re...

1 year ago | 2 answers | 0

Question

Finding index between two parallel lines

Hello, I have bathymetry data (an intuition is attached here) which is stored in a regular 10m-resolution grid with the follo...

1 year ago | 1 answer | 0

Question

gevfit error: Operands to the || and && operators must be convertible to logical scalar values

Hello, Using Matlab R2018b, I just run an example GEV Distribution blocksize = 1000; nblocks = 250; rng default % For rep...

2 years ago | 1 answer | 0

Question

Large 3D scatter interpolation: time x longitude x latitude

Dear All, I have 2 Matrices: Matrix 1: about 60 millions points (time x long x lat x windspeed) from unstructured grid mod...

2 years ago | 0 answers | 0

Question

interpolate 3 dimensional arrays (in time and space)

Hi all, I have 3D matrix 180x90x120 which is equal to lonxlatxtime. In space, the data has 1 degree resolution (e.g. longitu...

2 years ago | 2 answers | 0

Answered

convert wind direction in true North to Math convention

Sorry. Here is my data from meteorological source. I want to convert it into engineering style. How could I do in Matlab? Tha...

convert wind direction in true North to Math convention

Sorry. Here is my data from meteorological source. I want to convert it into engineering style. How could I do in Matlab? Tha...

3 years ago | 0

Question

convert wind direction in true North to Math convention

Hi all, I am very confused about how to convert wind direction in true North to math convention (Trigonometric style). Could ...

3 years ago | 3 answers | 0

Question

Replace numbers by strings

Hi, I have a matrix A= 1x100, and now I want to replace if numbers in A < 90 by 'case1' and A>=90 by 'case 2' Could a...

3 years ago | 2 answers | 0

Question

Write a netcdf file from a 2 dimensional array/time series text file

Hi, Let's say I have a text file contained: <</matlabcentral/answers/uploaded_files/86358/MATRIX.png>> I want to write ...

3 years ago | 0 answers | 0

Question

read files in yyyymmddhhmm format

Hi, I have a bunch of files named in yyyymmddhhmm format. For example: 201111010000.txt 201111010300.txt 201111011000.txt ...

3 years ago | 1 answer | 0

Question

convert column to matrix

Hi all, I want to convert a matrix like this: <</matlabcentral/answers/uploaded_files/76292/Untitled.jpg>> Could you he...

3 years ago | 1 answer | 0