Skip to main content

Questions tagged [matlab]

Questions regarding the MATLAB programming language.

1 vote
1 answer
53 views

If an expected variable is not present in the .nc file, is there a way to catch the Matlab error without it crashing the script?
Richard bouchard's user avatar
3 votes
0 answers
138 views

UPDATE: I believe I have found the mistake. I had missed that the project instructions stated that conductance of sensible heat flux should be equal to aerodynamic conductance. The model behaves as ...
Stan Nonna's user avatar
2 votes
1 answer
64 views

I'm trying to recreate the graphs in Figure 6.2 from this source (page 88). They get these plots by using the following solutions for velocity and temperature (both obtained from solving the basic ...
k12345's user avatar
  • 213
2 votes
0 answers
83 views

I'm trying to run hydus 1D so that I can do a sensitivity analysis of the solute transport parameters. I've scripted a matlab code to generate the files for each MC run. I can't get hydrus to run ...
Wesser's user avatar
  • 21
2 votes
0 answers
1k views

I'm trying to create figures in MatLab and am a reasonably new user, I'm wondering if there is a good way to make plots that use a common x-axis and then vertically stacked and alternating y-axes as ...
Harry's user avatar
  • 21
1 vote
1 answer
694 views

We can import and read all given bands/parameters of MOD10C2, lat and lon is not given as separate band rather embedded with other bands. How we can extract from MOD10C2 hdf data in matlab. Similar ...
irfan's user avatar
  • 109
6 votes
0 answers
122 views

I need to generate an all-zeros file as an input file for an Earth Systems model (DGVM) I'm using. I have a file with the same dimensions as the zero file. I have R and MATLAB and use a Fedora machine....
canopyman's user avatar
5 votes
2 answers
657 views

Suppose that I want to calculate the transport across a certain transect (green line) from the outputs of an ocean numerical model. The model has the $u$ values at the center of the grids (crosses) ...
shamalaia's user avatar
  • 529
4 votes
1 answer
1k views

How does one practically compute the kinetic energy spectra from a timeseries of u- and v- Cartesian components of ocean current velocity ($m s^{-1}$) obtained from an Acoustic Doppler Current ...
Mark's user avatar
  • 41
3 votes
0 answers
86 views

I'm using Matlab to read MODIS Aqua sea surface temperature data. Unfortunately I am not able to do it. It will be great if any of you can help me with that. ...
Swathy sunder's user avatar
7 votes
1 answer
1k views

I have been trying to evaluate the analytical solution for a wave travelling in a homogeneous, infinite media. For a given source $S(t)$, the wave-field can be calculated at a distance $r$, for a ...
Amartya's user avatar
  • 347
2 votes
1 answer
518 views

I have a seismic dataset that contains a depth-migrated seismic (amplitude) volume in depth and then the exact same volume converted to time using the migration velocities. Unfortunately, I do not ...
Antonio's user avatar
  • 947
-2 votes
1 answer
332 views

I do not know how to solve the shallow water equations in the matrix form in MATLAB. I didn't find anything useful on the internet. I have the specific mathematical equations to solve (please see the ...
Andriani G.'s user avatar
4 votes
2 answers
4k views

Im trying to create a Hovmoller diagram in MATLAB but I'm very new to programming and have no clue what to do. Im trying to do it for vorticity. Below is the code that I have currently. Any input or ...
NBE's user avatar
  • 141
4 votes
3 answers
5k views

I have two datasets that represent longitude in different ways. The first represents longitude as degrees from east to 180, but then as negative east so that I have a series which looks like: ...
Emma Tebbs's user avatar

15 30 50 per page