Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-haz
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Seismic Hazard Model Project
nshmp-haz
Commits
cb4da6b3
Commit
cb4da6b3
authored
9 years ago
by
Powers, Peter M.
Browse files
Options
Downloads
Patches
Plain Diff
matlab edits
parent
e077533c
No related branches found
No related tags found
1 merge request
!44
Matlab edits
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
etc/matlab/README.md
+10
-0
10 additions, 0 deletions
etc/matlab/README.md
etc/matlab/gmmExample.m
+5
-5
5 additions, 5 deletions
etc/matlab/gmmExample.m
with
15 additions
and
5 deletions
etc/matlab/README.md
0 → 100644
+
10
−
0
View file @
cb4da6b3
Using nshmp-haz with Matlab
---------------------------
All recent versions of Matlab include a Java runtime environment and it is therefore relatively straightforward to access the nshmp-haz library.
#### Requirements
*
Matlab R2013B or higher (nshmp-haz targets Java 7; prior versions of Matlab use Java 6).
*
A
[
build
](
/usgs/nshmp-haz/wiki/Building-&-Running
)
of nshmp-haz.
*
\ No newline at end of file
This diff is collapsed.
Click to expand it.
etc/matlab/gmmExample.m
+
5
−
5
View file @
cb4da6b3
%% nshmp-
s
ha Ground Motion Model explanatory script
%% nshmp-ha
z
Ground Motion Model
(GMM)
explanatory script
% =========================================================================
% This script
describes
how to access the ground motion models
implemented
% in the nshmp-
s
ha
hazard codes
. The models are written in Java and
require
% little more than to be identified to Matlab to function properly.
% This script
provides instruction on
how to access the ground motion models
%
implemented
in the nshmp-ha
z library
. The models are written in Java and
%
require
little more than to be identified to Matlab to function properly.
% =========================================================================
% Set up:
% (Required) Have the nshmp-
s
ha project cloned somewhere local. The
% (Required) Have the nshmp-ha
z
project cloned somewhere local. The
% instructions below that the project has also been compiled such
% that a 'classes' directory exsists.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment