Respondida
Use a variable with a file extenstion to load files
You can use |sprintf| or |num2str|. |num2str| is easier to use, but |sprintf| gives many more options including leading zeros. ...

alrededor de 12 años hace | 0

| aceptada

Respondida
frenet frame plot with arrows
http://www.mathworks.com/matlabcentral/fileexchange/278-arrow-m

alrededor de 12 años hace | 0

Enviada


threepoints2planez
Given three points in space, get coefficients of a plane in the form z = slopex*x + slopey*y + C.

alrededor de 12 años hace | 329 descargas |

5.0 / 5

Respondida
how to get the values from netcdf to ascii format through matlab?
Check out the names of the variables with |ncdisp('data.nc')| and if one of the variables is |lat|, you can load it with l...

alrededor de 12 años hace | 0

| aceptada

Respondida
different colour combinations in matlab
Use |scatter|. The syntax is |scatter(x,y,Size,Colors)|. |Size| is the size of the markers and |Colors| can be 20 rgb values a...

alrededor de 12 años hace | 0

Respondida
Blank white lines in eps exported surf plots.
Whenever weird things happen in figures, my first line of defense is trying different renderers. Try all three: set(gcf,'r...

alrededor de 12 años hace | 0

Respondida
how to label lines on a graph
<http://www.mathworks.com/matlabcentral/fileexchange/47421-label/content/label_documentation/html/label_documentation.html |labe...

alrededor de 12 años hace | 8

Respondida
How can I easily mark data points in a plot?
Sara's solution seems valid, as does your suggestion of |text|. Consider also |annotation| or <http://www.mathworks.com/matlabc...

alrededor de 12 años hace | 1

Respondida
Legend and graph doesn't have the same color
You can link labels directly to their data with <http://www.mathworks.com/matlabcentral/fileexchange/47421-label/content/label_d...

alrededor de 12 años hace | 0

Respondida
how can i draw a circle?
Here's a simple solution: http://www.mathworks.com/matlabcentral/fileexchange/45952-circle-plotter

alrededor de 12 años hace | 0

Respondida
Please help me with my loop. I can´t get my loop to work, i am not so skilled in MatLab and I have no problem with getting my results but with this loop working my code will be much shorter and easier to read for my supervisor.
For readability, spl calculations may be performed with <http://www.mathworks.com/matlabcentral/fileexchange/35876-sound-pressur...

alrededor de 12 años hace | 0

Enviada


Unit Converters
Convert units of pressure, length, time, force, mass, accel., temp, speed, frequency, area, & more!

alrededor de 12 años hace | 2696 descargas |

4.5 / 5
Thumbnail

Pregunta


Load .mat file variables without overwriting current variables of the same name
I have variables |x| and |y| in my workspace. Now I'd like to load a .mat file that contains variables named |x| and |y|. For ...

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Respondida
How to create a legend for a variable used as for loop iteration?
I am having trouble understanding your question. Perhaps <http://www.mathworks.com/matlabcentral/fileexchange/47228-legappend/c...

alrededor de 12 años hace | 1

Respondida
A guide to Tags
* "pullingteeth": When the asker does not provide enough details for readers to answer the question, then only divulges small bi...

alrededor de 12 años hace | 0

Respondida
setting coefficients of particular frequency components to zero
fs = 10; % Hz sampling rate (I made this up, you need to fix it) filteredSignal = bandstop_butterworth(signal_data,[.2 ...

alrededor de 12 años hace | 0

Respondida
for finding peak. i tried findpeaks(). but its not working
This is popular: http://www.mathworks.com/matlabcentral/fileexchange/25500-peakfinder

alrededor de 12 años hace | 0

Respondida
I have some force data and corresponding time data. How to remove vibration signal from force data?
You could do a <http://www.mathworks.com/matlabcentral/fileexchange/38584-butterworth-filters bandstop butterworth> filter to re...

alrededor de 12 años hace | 0

Respondida
Placing a Title on Bounding Box
Instead of the |title| command, consider using |text|. You can pin the text to some x,y location, then align the text around th...

alrededor de 12 años hace | 0

| aceptada

Respondida
polar to cartesian conversion
The x and y values may very well be the dimensions of the matrix, so from 1 to 742 in one direction and 1 to 400 in the other di...

alrededor de 12 años hace | 0

Enviada


nantight
Sets axis limits to the range of finite data.

alrededor de 12 años hace | 400 descargas |

0.0 / 5

Respondida
Shading to indicate a condition on a time series plot
Alternatively, you could use <http://www.mathworks.com/matlabcentral/fileexchange/43090-hfill-and-vfill/content/hfill_and_vfill/...

alrededor de 12 años hace | 0

Respondida
suppress command line outputs when publishing to html
I figured out a solution, publish('myfile.m','maxOutputLines',0) However, this suppresses all output for the whole file...

alrededor de 12 años hace | 1

| aceptada

Pregunta


suppress command line outputs when publishing to html
I'm publishing an example file and one section looks like this %% An example of a pcolor image h = pcolor(x,y,z); s...

alrededor de 12 años hace | 2 respuestas | 0

2

respuestas

Respondida
How can I combine two gray colormap images in different colors?
You could make two color maps with <http://www.mathworks.com/matlabcentral/fileexchange/46874-rgbmap-color-maps |rgbmap|> like t...

alrededor de 12 años hace | 0

Respondida
Weird results when using writeVideo with opengl
If you're using |frame = getframe(gcf)| , you might try |frame = <http://www.mathworks.com/matlabcentral/fileexchange/23629-expo...

alrededor de 12 años hace | 0

Enviada


coriolisf
Returns Coriolis parameter as a function of latitude.

alrededor de 12 años hace | 489 descargas |

0.0 / 5

Respondida
Plotting winds with quiver functions
If you want barbs, there's also these FEX submissions: http://www.mathworks.com/matlabcentral/fileexchange/8572-barbs htt...

alrededor de 12 años hace | 0

Respondida
Quiverm arrowhead at the origin`
<http://www.mathworks.com/matlabcentral/fileexchange/47314 |quivermc|> can also do this with the tag |'arrowstyle','tip'|. This ...

alrededor de 12 años hace | 0

Respondida
Error with quiverm function
Matlab's |quiverm| function mixes up |u| and |v|. It also scales the vectors in a strange way. Andrew Roberts' <http://www.mat...

alrededor de 12 años hace | 0

Cargar más