Recent content by Halsey
-
H
MATLAB How can I use the find function to replace missing values in a 4D array?
Hi all- I have a question regarding using the find function as opposed to if statements in finding values in a 4D array. These are climate variables, such as temperature (in Kelvin). Missing values are represented as 10^15, and I want to change them to NaN which plots much nicer. I have...- Halsey
- Thread
- 4d Array Function Matlab
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
H
MATLAB MATLAB char array with variable names
==> I just realized that the last line should be var_names(a+1,:) because Matlab indices begin with 1, but that is not the problem. err msg is: Warning: Out of range or non-integer values truncated during conversion to character. > In read_hdf at 20 ? Subscripted assignment...- Halsey
- Post #2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
H
MATLAB MATLAB char array with variable names
Hello all. I am having troubles reading in data(from a .hdf file) and giving it my own variable names. I have created a character array var_names with the names I wish to use. The .hdf variables are 3D and 4D (they are climate parameters). What I am trying to do is loop through the...- Halsey
- Thread
- Array Matlab Variable
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX