Question


What font do you code in?
What font do you use for coding? Clearly the _best_ typeface for coding is Curlz MT, but are there any others? I'm looking for...

11 years ago | 9 answers | 2

9

answers

Answered
[DEPRECATED] What frustrates you about MATLAB?
I'd like new installations of Matlab to be able to grab preference settings from previous versions installed on my computer. It...

11 years ago | 4

Answered
Extracting text from .txt file and place into a string.
You can use <http://www.mathworks.com/help/matlab/ref/textscan.html |textscan|> to import the text, then <http://www.mathworks.c...

11 years ago | 0

Answered
How to stop counting an element in a for loop when it reaches the limit?
Is this what you mean? SomeNumbers = zeros(3600,1); for k = 1:3600 RandomNumber = rand(1)-.8; ...

11 years ago | 0

| accepted

Answered
Draw a circle in a grid
<http://www.mathworks.com/matlabcentral/fileexchange/45952-circle-plotter/content//circles_demo/html/circles_documentation.html ...

11 years ago | 0

| accepted

Answered
Add more simple spam filters
How about anyone with >50 reputation points can put questions into quarantine and anyone with >500 points can quarantine users? ...

11 years ago | 2

Answered
break legend in two lines
Try Kelly Kearney's <http://www.mathworks.com/matlabcentral/fileexchange/31092-legendflex-m--a-more-flexible--customizable-legen...

11 years ago | 0

Answered
[DEPRECATED] What frustrates you about MATLAB?
No reliable way to kill a computation when you give Matlab a bigger bite than it can chew. This is the kind of innocent-looking...

11 years ago | 1

Answered
how can I adjust the dimension of the graphic window?
|set(gcf,'pos',[100 150 1200 800])| sets a 1200 pixel wide by 800 pixel tall figure, with its lower left corner at x = 100 pixel...

11 years ago | 0

Answered
One value not being displayed?
You've overwritten |f(1)| when you set |f(s2)=0;| Replace your first |stem| line with the values directly: stem(n_3, 4./(p...

11 years ago | 0

| accepted

Answered
Need mapping toolbox mstruct for SCAR stereographic projection
See also: <http://www.mathworks.com/matlabcentral/fileexchange/47638-antarctic-mapping-tools/content/AntarcticMappingTools/Docum...

11 years ago | 0

Answered
How can I simulate motion of buoy due ocean waves in 2D or 3D ?
Run this: x = 1:.1:100; % horizontal distance lambda = 20; % wavelength c = 5; % wave speed A = 1.5; ...

11 years ago | 2

| accepted

Answered
replacing nan values with the closest pixel value
For clarity, can you edit your question to remove the three instances of the word "it"? This isn't me being a stickler--I just ...

11 years ago | 0

Answered
Extracting values in 2D dataset with indices for lat and lon
Do you simply need a comma? You wrote, values = data(lon_indices lat_indices); Perhaps it should be values = dat...

11 years ago | 0

| accepted

Answered
How do I convert latitude and longitude to rows and columns on a geotiff?
If |latlon2pix| returned funny numbers, I'd guess there's something wrong with your georeferencing matrix. If you only need...

11 years ago | 0

Answered
plotting lat, lon, altitude, variable
Great! You may also want to add a coast line for context as shown <http://www.mathworks.com/matlabcentral/fileexchange/49985-pc...

11 years ago | 0

Answered
if condition finding same numbers in consecutive rows
You can use the index outputs of <http://www.mathworks.com/help/matlab/ref/unique.html |unique|> with the |'rows'| option. That'...

11 years ago | 0

Answered
if condition finding same numbers in consecutive rows
You can use |diff|. x = [4 5 2 17 17 3 4 2 2 4]; ConsecutiveNumbersStartAt = find(diff(x)==0)

11 years ago | 1

Answered
4-D plot in Matlab
For vectors |v1|, |v2|, |v3|, and |v4|, you can plot the first three vectors as _x,y,z_ locations and |v4| as color with s...

11 years ago | 0

| accepted

Submitted


pcolor3
Plot a 3D matrix as a semitransparent volume

11 years ago | 3 downloads |

4.2 / 5
Thumbnail

Answered
plotting lat, lon, altitude, variable
You can try <http://www.mathworks.com/matlabcentral/fileexchange/49985-pcolor3/content/pcolor3/html/pcolor3_documentation.html |...

11 years ago | 0

| accepted

Question


Making all surfaces visible in R2014b
I'm writing a <http://www.mathworks.com/matlabcentral/fileexchange/49985-pcolor3/content/pcolor3/html/pcolor3_documentation.html...

11 years ago | 1 answer | 1

1

answer

Answered
Map plot (surfm) of polar regions missing data
Hi Weirdkhar, First, if you make a lot of maps centered about the South Pole, I recommend initializing with <http://www.math...

11 years ago | 2

| accepted

Answered
Correlation between two differently formatted datasets
Melissa, Without knowing anything about your project, my gut feeling is that it does not seem prudent to grid your B dataset...

11 years ago | 0

| accepted

Answered
What command to be used to make "Return" button as a button to continue an automated tool?
Use |waitforbuttonpress| and |key = get(gcf, currentcharacter)|. If |key| equals 13, the user hit return.

11 years ago | 0

| accepted

Answered
HELP! Averaging each element in multiple matrices
You can use <http://www.mathworks.com/matlabcentral/fileexchange/48361-downsample-ts/content/downsample_ts/html/downsample_ts_do...

11 years ago | 0

Question


Do FEX users look at Example files?
Recently I've made a habit of uploading documentation in the form of <http://www.mathworks.com/matlabcentral/fileexchange/index?...

11 years ago | 3 answers | 1

3

answers

Answered
How to overlay a shape file onto a wind density contour plot
For a single landmass, S = shaperead('filename.shp','usegeocoords',true); plot(S.Lon,S.Lat) If the shapefile contai...

11 years ago | 1

Answered
Spatial subset of geotiff through masking by shapefile?
Does this work for you? % Get image info: R = geotiffinfo('geotiff_example.tif'); % Get x,y locations of pixel...

11 years ago | 3

| accepted

Answered
graphing -- make figure window larger
The <http://www.mathworks.com/matlabcentral/fileexchange/48071-fullfig |fullfig|> function creates full-screen figures. |fullfi...

11 years ago | 0

Load more