メモ帳

MATLAB

行列の演算と操作

・行列要素の取り出しと置き換え

 例1 行列Xの要素で負の値を-999で置き換える。

       X(X < 0) = -999;

   例2 行列Xの負の値を持つ要素に360を加える。

   X(X < 0) = X(X < 0)+360;

 例3 NaNをゼロに置き換える。

   X(isnan(X))=0;になる場合がある。

・行列要素の関数演算

 例1 行列Aの各要素とスカラー量cの四則演算は、「+」、「-」、「*」、「/」を用いる。

   X=A+c, X=A-c, X=A*c, X=A/c

 例2 行列Aと行列Bの要素同士の乗算、除算は、それぞれ、「.*」、「./」を用いる。

   X=A.*B

   X=A./B

 例3 行列Xの要素の常用対数(基底10)を計算する。

   X=log10(X);

Xの要素が負の値のとき、計算結果が異常になる場合があるので、あらかじめ取り除くこと。

・NaNデータの取り扱い(from Kobori)

 例1isnan関数を使って(非)NaNのインデックスを作成しておくと便利。

   idx = ~isnan(data); % 非NaNのインデックスを作成('~' は否定の意)

   x = std(data(idx)); % 非NaNのみを対象に標準偏差を計算

 例2非NaNの要素だけを取り出したい場合、

   valid_data = data(~isnan(data));

 例3data自体からNaNを取り除いてしまいたい場合は、

   data(isnan(data)) = [];


論文の構成

参考:peps_template_R4.3_Research_Methodology.docx

 

Template for a Research article or a Methodology of the Progress in Earth and Planetary Science: an example

Masaki Satoh1

Corresponding author

Email: AAAA@AAAAAAAA

 

Hodaka Kawahata2

Email: BBBB@BBBBBBBB

 

Ryuji Tada3

Email: CCCC@CCCCCCCC

 

Jun Matsumoto4

Email: DDDD@DDDDDDDD

 

(Institutional addresses)

1 Atmosphere and Ocean Research Institute, The University of Tokyo, 5-1-5 Kashiwanoha, Kashiwa, Chiba 277-8564, Japan

2 ,,,,,,,,,,

3 ,,,,,,,,,,

4 ,,,,,,,,,,

 

Abstract

A short, unstructured, single paragraph summary, no more than 350 words, of the major points raised, making evident the key work highlighted in the article. Minimize the use of abbreviations and do not cite references in the abstract.

 

Keywords

Three to ten keywords representing the main content of the article. Keywords should be separated by a comma (,) and a space as shown in the following example.

Computational seismology, Crustal structure, Finite-difference method simulation, Lg wave, Regional wave, Sn wave, Wave propagation

If a keyword includes a comma, place a semicolon (;) and a space between keywords as below.

Computational seismology; Crustal structure; Lg wave; Red, white and blue; Regional wave; Sn wave; Wave propagation

 

Introduction

This should explain the background to the article, its aims, a summary of a search of the existing literature and the issue under discussion, and may also be broken into subsections with short, informative headings.

 

Subsection ABC

This is a subsection in Introduction section.

 

Methods/Experimental

The methods section should include the aim, design and setting of the study, the characteristics of participants or description of materials involved, a clear description of all processes and methodologies employed, and the type of statistical analysis used, to enable replication.

 

Subsection DEF

This is a subsection in Methods section.

 

Results

This should include the findings of the study including, if appropriate, results of statistical analysis which must be included either in the text or as tables and figures.

 

Subsection GHI

This is a subsection in Results section.

 

Discussion (can be combined in ‘Results and Discussion’ section)

For research articles this section should discuss the implications of the findings in context of existing researches and highlight limitations of the study. For methodology manuscripts this section should include a discussion of any practical or operational issues involved in performing the study and any issues not covered in other sections.

 

Subsection JKL

This is a subsection in Discussion section.

 

Conclusions

This should state clearly the main conclusions and include a clear explanation of their relevance or importance to the field.

 

Abbreviations

CMB: Core-mantle boundary; GOSAT: Greenhouse Gases Observing Satellite; JAXA: Japan Aerospace eXploration Agency; TRMM: Tropical rainfall measuring mission

 

Declarations

Availability of data and material

All manuscripts must include an ‘Availability of data and materials’ statement. It should include information on where to find data supporting the results reported in the article.

For example:

The dataset(s) supporting the conclusions of this article is(are) available in the [repository name] repository, [unique persistent      identifier and hyperlink to dataset(s) in http:// format].

The dataset(s) supporting the conclusions of this article is(are) included within the article (and its additional file(s)).

If it is not possible to share research data publicly:

Data sharing not applicable to this article as no datasets were generated or analysed during the current study. Please contact author for data requests.

If your manuscript does not contain any data:

'Not applicable'

 

More examples of template data availability statements are available at:

https://progearthplanetsci.springeropen.com/submission-guidelines/preparing-your-manuscript/research-article

 

Competing interests

The authors declare that they have no competing interest.

 

Funding

All sources of funding for the research reported should be declared.

This work was supported by JSPS KAKENHI Grant Number 12345678.

HK was partly funded by ABC project (ABC-123-456).

 

Authors' contributions

The individual contributions of authors to the manuscript should be specified in this section. The authors should be referred to by their initials.

MS proposed the topic, conceived and designed the study. HK carried out the experimental study. RT analyzed the data and helped in their interpretation. JM collaborated with the corresponding author in the construction of manuscript. All authors read and approved the final manuscript.

 

Authors' information

You may choose to use this section to include any relevant information about the author(s) that may aid the reader's interpretation of the article, and understand the standpoint of the author(s). This may include details about the authors' qualifications, current positions they hold at institutions or societies, or any other relevant background information. Please refer to authors using their initials. Note this section should not be used to describe any competing interests.

 

Acknowledgements

This acknowledges anyone who contributed towards the article who does not meet the criteria for authorship including anyone who provided professional writing services or materials.

We thank XXXXX and YYYYY for their assistance in our experiments. We also thank ZZZZZ for the English language review. MS gratefully acknowledges the travel grant from Japan Geoscience Union to attend the ABC symposium 2015 held at Tokyo, Japan.

 

Endnotes

 

 

References

 

Citations in the reference list should include all named authors, up to the first 30 before adding 'et al.'. The reference list should be ordered alphabetically, by lead author's last name.

 

Article within a journal (30 authors or less)

Smith J, Jones M Jr, Houghton L (1999) Future of health insurance. N Engl J Med 965:325-329

 

Article within a journal (more than 30 authors)

McMullen MD, Kresovich S, Villeda HS, Bradbury P, Li H, Sun Q, Flint-Garcia S, Thornsberry J, Acharya C, Bottoms C, Brown P, Browne C, Eller M, Guill K, Harjes C, Kroon D, Lepak N, Mitchell SE, Peterson B, Pressoir G, Romero S, Oropeza Rosas M, Salvo S, Yates H, Hanson M, Jones E, Smith S, Glaubitz JC, Goodman M, Ware D, et al. (2009) Genetic properties of the maize nested association mapping population. Science 325:737-740

 

Article by DOI (with page numbers)

Slifka MK, Whitton JL (2000) Clinical implications of dysregulated cytokine production. J Mol Med 78:74-80. doi:10.1007/s001090000086.

 

Article by DOI (before issue publication and with page numbers)

Slifka MK, Whitton JL (2000) Clinical implications of dysregulated cytokine production. J Mol Med. doi:10.1007/s001090000086

 

Article in electronic journal by DOI (no paginated version)

Mysen B (2014) Water–melt interaction in hydrous magmatic systems at high temperature and pressure. Prog Earth Planet Sci 1:4. doi:10.1186/2197-4284-1-4

 

Journal issue with issue editor

Smith J (ed) (1998) Rodent genes. Mod Genomics J 14(6):126-233

 

Journal issue with no issue editor

Mod Genomics J (1998) Rodent genes. Mod Genomics J 14(6):126-233

 

Book chapter, or an article within a book

Brown B, Aaron M (2001) The politics of nature. In: Smith J (ed) The rise of modern genomics, 3rd edn. Wiley, New York

 

Complete book, authored

South J, Blass B (2001) The future of modern genomics. Blackwell, London

 

Complete book, edited

Smith J, Brown B (eds) (2001) The demise of modern genomics. Blackwell, London

 

Complete book, also showing a translated edition [Either edition may be listed first.]

Adorno TW (1966) Negative Dialektik. Suhrkamp, Frankfurt. English edition: Adorno TW (1973) Negative Dialectics (trans: Ashton EB). Routledge, London

 

Chapter in a book in a series without volume titles

Schmidt H (1989) Testing results. In: Hutzinger O (ed) Handbook of environmental chemistry, vol 2E. Springer, Heidelberg, p 111

 

Chapter in a book in a series with volume titles

Smith SE (1976) Neuromuscular blocking drugs in man. In: Zaimis E (ed) Neuromuscular junction. Handbook of experimental pharmacology, vol 42. Springer, Heidelberg, pp 593-660

 

Online First chapter in a series (without a volume designation but with a DOI)

Saito Y, Hyuga H (2007) Rate equation approaches to amplification of enantiomeric excess and chiral symmetry breaking. Topics in Current Chemistry. doi:10.1007/128_2006_108.

 

Proceedings as a book (in a series and subseries)

Zowghi D (1996) A framework for reasoning about requirements in evolution. In: Foo N, Goebel R (eds) PRICAI'96: topics in artificial intelligence. 4th Pacific Rim conference on artificial intelligence, Cairns, August 1996. Lecture notes in computer science (Lecture notes in artificial intelligence), vol 1114. Springer, Heidelberg, p 157

 

Article within conference proceedings with an editor (without a publisher)

Aaron M (1999) The future of genomics. In: Williams H (ed) Proceedings of the genomic researchers, Boston, 1999

 

Article within conference proceedings without an editor (without a publisher)

Chung S-T, Morris RL (1978) Isolation and characterization of plasmid deoxyribonucleic acid from Streptomyces fradiae. In: Abstracts of the 3rd international symposium on the genetics of industrial microorganisms, University of Wisconsin, Madison, 4-9 June 1978

 

Article presented at a conference

Chung S-T, Morris RL (1978) Isolation and characterization of plasmid deoxyribonucleic acid from Streptomyces fradiae. Paper presented at the 3rd international symposium on the genetics of industrial microorganisms, University of Wisconsin, Madison, 4-9 June 1978

 

Abstract presented at a Japan Geoscience Meeting

Kawahata H (2017) Current status and future development of Progress in Earth and Planetary Science. Abstract U01-08 presented at the JpGU-AGU Joint Meeting 2017, Makuhari, Japan, 20-25 May 2017. https://confit.atlas.jp/guide/event/jpguagu2017/subject/U01-08/advanced. Accessed 1 Sept 2017

 

Patent

Norman LO (1998) Lightning rods. US Patent 4,379,752, 9 Sept 1998

 

Dissertation

Trent JW (1975) Experimental acute renal failure. Dissertation, University of California

 

Book with institutional author

International Anatomical Nomenclature Committee (1966) Nomina anatomica. Excerpta Medica, Amsterdam

 

In press article

Major M (2007) Recent developments. In: Jones W (ed) Surgery today. Springer, Dordrecht (in press)

 

Online document

Doe J (1999) Title of subordinate document. In: The dictionary of substances and their effects. Royal Society of Chemistry. Available via DIALOG. http://www.rsc.org/dose/title of subordinate document. Accessed 15 Jan 1999

 

Online database

Healthwise Knowledgebase (1998) US Pharmacopeia, Rockville. http://www.healthwise.org. Accessed 21 Sept 1998

 

Supplementary material/private homepage

Doe J (2000) Title of supplementary material. http://www.privatehomepage.com. Accessed 22 Feb 2000

 

University site

Doe J (1999) Title of preprint. http://www.uni-heidelberg.de/mydata.html. Accessed 25 Dec 1999

 

FTP site

Doe J (1999) Trivial HTTP, RFC2169. ftp://ftp.isi.edu/in-notes/rfc2169.txt. Accessed 12 Nov 1999

 

Organization site

ISSN International Centre (2006) The ISSN register. http://www.issn.org. Accessed 20 Feb 2007

 

 

Writing in English

https://www.springer.com/gb/authors-editors/authorandreviewertutorials/writinginenglish