Community Profile

photo

Leon


NOAA

Last seen: Today 2011 以来アクティブ

Statistics

  • First Review
  • Thankful Level 4
  • First Answer

バッジを表示

Content Feed

表示方法

質問


How to add a right hand y-axis with the same major and minor ticks?
My goal is to add two y-axis of the same major and minor ticks. Their color should all be black. Here is my current code to do ...

約12時間 前 | 1 件の回答 | 0

1

回答

質問


How to change Matlab display format for numbers
One thing I dislike about Matlab is the default way of displaying numbers. It would automatically divide everything by 1000 an...

約1ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to concatenate matrices when some of them can be empty?
I have 10 matrices, each of them would either have a size of n by 12, or is empty. For example: T1 can be a matrix with a size o...

約1ヶ月 前 | 2 件の回答 | 0

2

回答

質問


How do I get values of a certain parameter in a multi-dimensional matrix?
A is a variable with the size of 1000 x 500. % Index of those that are less than 10000 Ind = A < 10000; Why does the below gi...

約2ヶ月 前 | 2 件の回答 | 0

2

回答

質問


How to convert the below colormap into a Matlab colormap?
Below is a topography colormap I got from the Generic Mapping Tools. I wonder if anyone knows how to convert this colormap into ...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Does the latest version of Matlab allow more than one colormaps in one plot?
In the past, overlaying two axes was the only option, but overlaying can often causes its own problems, e.g., slight offset, etc...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


GMT colormap "geo"
Anyone knows how to extract the numerical values out of the "geo" colormap in the "Generic Mapping Toolbox"? https://gmt-tutori...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to plot a map like this in Matlab?
The attached map was created using GMT based on the Earth Relief data. I wonder if anyone knows how to plot it using Matlab? Ma...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Is Matlab compatible with Mac OS Monterey?
I plan to upgrade my Mac OS to the latest Mac OS Montere. I wonder if that will cause any issues? I'm currently on MATLAB R20...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How do I identify unique rows based on multiple columns and calculate the average of the rest of the columns?
I have a matrix as below: A = [1 4 3 8; 4 5 6 9; 1 6 3 6; 2 6 9 3; 1 5 3 7]; My goal is to identify rows with both identical C...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to expand a table with more columns?
I have a table T1 with a size of 30000 x 55. How do I add 6 more columns of this table: A, B, C, D, E, F, each of them have a s...

4ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to calculate the binned average at the center of each X and Y grid points?
I have a grid like the below and a 3-column data: x, y, z. [X Y] = ndgrid([-179.5:179.5], [-89.5:89.5]); How do I calculate t...

4ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to specify the color of this contourf plot?
I'm trying to plot the landmask (logical 0 or 1) using a uniform color. Below is my code: % Turning the landmask from logical t...

5ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to create a land/sea mask based on an XYZ bathymetry database?
I have a gridded global bathymetric database with X, Y, and E. X is longitude, Y is latitude, and E is the elevation. E can be p...

5ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Export a plot with predefined margins
I'm using the below command to export my plot into a jpeg file: % h is the handle for the figure % File_W is my jpeg file name...

5ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Creating depth specific contours from bathymetry data
The bathymetric data are available through NetCDF, Data GeoTiff and ESRI ASCII raster formats: https://www.gebco.net/data_and_pr...

5ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Calculation using matrix indexing for elements with a certain thresholds
I need to calculate the percentage differences of all elements that are larger than 5 in two matrices (A and B). Both A and B ha...

5ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Matlab parfor transparency violation error.
It is my first time to use Matlab parfor, and I'm getting the transparency violation error as below: Error using A02_use (line ...

6ヶ月 前 | 0 件の回答 | 0

0

回答

回答済み
How to write a parallel computing script for this situation?
Many thanks for the input, John! To clarify, the function is not my code. It is a peer-reviewed one from someone else. Were ...

6ヶ月 前 | 0

質問


How to write a parallel computing script for this situation?
I have a program that has been running for more than a week. I have no idea how many additional days it will take. Would anyone ...

6ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to read this kind of info out of a txt file and post them into Excel files?
I receive the below info from emails and would store them into an txt file named FmEmail.txt. The info is composed of several gr...

9ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Need help using contourfm in Map plotting
Normally, I can use contourf to plot a countour like this: [C1, h1] = contourf (X, Y, Z, [7.9:0.005:8.2], 'LineStyle', 'none' )...

9ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to blank a grid value with a boundary file?
I have a grid like the below: [X, Y] = ndgrid([-180:0.25:179.75],[-90:0.25:89.75]); Z = griddata(...); %on the same grid as X ...

9ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to find the nearby sampling stations
I have millions of samping sations, my goal is to find the nearby stations with a certain distance threshold. What is the best w...

10ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to convert arc length to km?
My goal is to find a good function to calculate the distance for two points for millions of data points. I found the fucntion ll...

10ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to create a callback for radio buttons
I have a group of radio buttons with 3 choices (app.mode1, app.mode2, and app.mode3) in app-designer. When a user clicks one of ...

10ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to change the button names depending on different situations?
I'm referring to buttons within app-designer. For example, I would want the button to be called "load" in one situation, and "p...

10ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
Matlab textArea automatic new line issue
It turns out that the issue are the square brackets. Once I replace them with strcat, everything works perfectly now. Before: ...

10ヶ月 前 | 1

| 採用済み

質問


Limits of app-designer spinner input field
I have an app-designer spinner input field called app.A. I can set its limits by below: app.A.Limits = [1, max(cruiseList)]; H...

11ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to find the index of a column data whose values are equal to another column data?
For example: A = [31; 2; 57; 36; 87; 36]; B = [2; 36]; My goal is to find the inex of all the column A that are equal to any ...

11ヶ月 前 | 1 件の回答 | 0

1

回答

もっと読み込む