Question


How to extract x and y position of contour line?
In old matlab versions, I could extract x and y points along a contour line as shown below. This is incredibly useful in my work...

mer än 9 år ago | 3 answers | 1

3

answers

Question


How to load in variable if it is present in a matfile?
I am having trouble with "conditional" loading of a variable from a matfile, depending on whether the matfile contains the varia...

mer än 9 år ago | 3 answers | 0

3

answers

Answered
Text and Plot in PDF format
Could you do this following <http://www.mathworks.com/help/matlab/matlab_prog/publishing-matlab-code.html this approach>? There ...

mer än 9 år ago | 1

Question


Why slow conversion from date in Matlab time to day of year?
I have a vector of dates in Matlab time convention which I need to convert to day of the year. The following code is slow (9 sec...

mer än 9 år ago | 2 answers | 0

2

answers

Question


How to set default font size and style?
In R2015a, how do I set the default text for plot titles, ticklabels, and axes labels to 12 point normal font?

mer än 9 år ago | 3 answers | 1

3

answers

Question


How to alter contour label properties?
How can I change contour label properties without getting the warning shown below? [cc, hh] = contourf(peaks); t = clab...

mer än 9 år ago | 2 answers | 0

2

answers

Question


How to split a string and return only decimal numbers?
I would like to extract a vector x containing decimal numbers from this string, myString = 'YYYY MM DD hh mm .0200 .0325 ...

mer än 9 år ago | 1 answer | 0

1

answer

Question


Problems with "help" and "doc" in R2014b
After installing R2014b, help and doc commands no longer work correctly. Is there a fix? Some background: * <http://www.mathw...

nästan 10 år ago | 1 answer | 0

1

answer

Question


Why "Unable to parse command history line" error?
Starting today, I get "Unable to parse command history line:" whenever I start Matlab. No other information is provided. I am r...

nästan 10 år ago | 2 answers | 0

2

answers

Question


How to speed up this code?
I would like fast code to find the index of the closest element of a vector to a scalar. Here's what I am doing now, someVe...

ungefär 10 år ago | 1 answer | 0

1

answer

Question


How to combine different license types (and is it a good idea)?
I am (reluctantly) the administrator of licenses for a small group. Presently licenses are either <http://www.mathworks.com/help...

ungefär 10 år ago | 0 answers | 0

0

answers

Question


How to accept an answer in a comment?
I submitted a question and someone answered correctly in a comment to my question. (Someone else answered in an answer, but that...

mer än 10 år ago | 3 answers | 3

3

answers

Question


How to prevent Matlab from freezing when doc help is opened?
I have R2013b and 22 figure windows are open. When I use doc at the command line to open help windows (for figure and print), Ma...

mer än 10 år ago | 2 answers | 0

2

answers

Question


Shading to indicate a condition on a time series plot
I have a long time series, let's say of water level in a stream, shown on a line plot. I would like to shade in periods when a c...

mer än 10 år ago | 2 answers | 0

2

answers

Question


How to eliminate "Edit Plot" arrow error in a copied figure?
I have a set of figures that I copy then delete using the code from <http://www.mathworks.com/matlabcentral/answers/133438-can-f...

mer än 10 år ago | 1 answer | 0

1

answer

Question


Can figure numbers be re-assigned?
Is it possible to *re-assign a figure number* , for example if I have a Figure 55 open, can I make it Figure 2 as long as I don'...

mer än 10 år ago | 3 answers | 2

3

answers

Question


Extract xdata and ydata from hggroup
I would like to extract the xdata and ydata values of "lines" in a <http://www.mathworks.com/help/ident/ref/bode.html bode> plot...

mer än 10 år ago | 2 answers | 0

2

answers

Question


Why floating letters left behind from workspace pull-down App menu?
The Matlab window appears to generate floating letters in the Windows workspace. The following letters appear where the Matlab w...

mer än 10 år ago | 0 answers | 0

0

answers

Question


How to pass in a list of variables to "load" function without using eval?
Is there a way to load in a list of variables from a file, if the list of variables is passed in? I would like to avoid using ev...

mer än 10 år ago | 2 answers | 0

2

answers

Question


Can I dynanically reference a variable name, similar to dynamic field references?
I have a large mat file containing many different variables. I would like to load and process the variables by working through a...

mer än 10 år ago | 1 answer | 0

1

answer

Question


How to make a subplot into a new standalone figure?
A colleague is giving me several fig files, each of which contains several subplots. What is the way that I can "copy" a subplot...

mer än 10 år ago | 1 answer | 3

1

answer

Question


Can I run 2 versions of a function in 2 different Matlab sessions?
I am wondering if it is possible to run 2 versions of the same function in 2 different Matlab sessions. * Let's say I have a ...

nästan 11 år ago | 1 answer | 0

1

answer

Question


How to avoid truncated block names when printing Simulink model?
I have a question about printing out a Simulink model. When printing I chose 'Include print log' to list all the blocks included...

nästan 11 år ago | 0 answers | 0

0

answers

Question


How did bdroot get its name?
I am curious how the function <http://www.mathworks.co.uk/help/simulink/slref/bdroot.html bdroot> got its name. Is "bdroot" an a...

ungefär 11 år ago | 1 answer | 1

1

answer

Question


What happens if toolbox is not renewed
I am the (reluctant) administrator of a group of commercial Matlab licenses with some questions about toolbox renewals: * Wh...

mer än 11 år ago | 3 answers | 1

3

answers

Question


Problem with indexing within a vector
I have two vectors, x and y. I would like to make third vector, z, which has the combined magnitude of x and y, i.e. sqrt(x.^2 +...

mer än 11 år ago | 1 answer | 0

1

answer

Question


How to identify contiguous regions between two thresholds?
If I have a variable z at mapped locations x and y, is there way to obtain the x-y locations of the contour(s) enclosing any con...

nästan 12 år ago | 2 answers | 0

2

answers

Question


Is there a better way to capture the output of an external program?
In a Matlab script, I use a command-line program called <http://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/ wgrib2> to extract...

nästan 12 år ago | 1 answer | 1

1

answer

Question


How do I parse this string?
I would like to parse the following string a='4:256404:val=9.999e+20:val=1.82:val=2.15:val=2.66:val=2.18:val=1.81'; to o...

nästan 12 år ago | 1 answer | 0

1

answer

Answered
read_grib order of data
While it is too late for your project, I will mention the <http://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/ wgrib2> package,...

nästan 12 år ago | 0

Load more