Pregunta


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...

más de 11 años hace | 9 respuestas | 2

9

respuestas

Respondida
[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...

más de 11 años hace | 4

Respondida
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...

más de 11 años hace | 0

Respondida
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; ...

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

| aceptada

Respondida
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? ...

más de 11 años hace | 2

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

más de 11 años hace | 0

Respondida
[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...

más de 11 años hace | 1

Respondida
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...

más de 11 años hace | 0

Respondida
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...

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

Respondida
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; ...

más de 11 años hace | 2

| aceptada

Respondida
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 ...

más de 11 años hace | 0

Respondida
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...

más de 11 años hace | 0

| aceptada

Respondida
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...

más de 11 años hace | 0

Respondida
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...

más de 11 años hace | 0

Respondida
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'...

más de 11 años hace | 0

Respondida
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)

más de 11 años hace | 1

Respondida
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...

más de 11 años hace | 0

| aceptada

Enviada


pcolor3
Plot a 3D matrix as a semitransparent volume

más de 11 años hace | 5 descargas |

4.2 / 5
Thumbnail

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

más de 11 años hace | 0

| aceptada

Pregunta


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

más de 11 años hace | 1 respuesta | 1

1

respuesta

Respondida
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...

más de 11 años hace | 2

| aceptada

Respondida
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...

más de 11 años hace | 0

| aceptada

Respondida
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.

más de 11 años hace | 0

| aceptada

Respondida
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...

más de 11 años hace | 0

Pregunta


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?...

más de 11 años hace | 3 respuestas | 1

3

respuestas

Respondida
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...

más de 11 años hace | 1

Respondida
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...

más de 11 años hace | 3

| aceptada

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

más de 11 años hace | 0

Cargar más