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

12 years ago | 0

| accepted

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

12 years ago | 0

Submitted


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

12 years ago | 1 download |

5.0 / 5

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 8

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

12 years ago | 1

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

Submitted


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

12 years ago | 3 downloads |

4.5 / 5
Thumbnail

Question


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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 1

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

| accepted

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

12 years ago | 0

Submitted


nantight
Sets axis limits to the range of finite data.

12 years ago | 1 download |

0.0 / 5

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

12 years ago | 0

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

12 years ago | 1

| accepted

Question


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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 0

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

12 years ago | 0

Submitted


coriolisf
Returns Coriolis parameter as a function of latitude.

12 years ago | 4 downloads |

0.0 / 5

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

Load more