質問

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

5年以上 前 | 3 件の回答 | 1

質問

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

5年以上 前 | 3 件の回答 | 0

回答済み

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

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

5年以上 前 | 1

質問

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

5年以上 前 | 2 件の回答 | 0

質問

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?

5年以上 前 | 2 件の回答 | 0

質問

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

5年以上 前 | 1 件の回答 | 0

質問

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

5年以上 前 | 1 件の回答 | 0

質問

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

5年以上 前 | 1 件の回答 | 0

質問

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

6年弱 前 | 2 件の回答 | 0

質問

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

6年弱 前 | 1 件の回答 | 0

質問

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

約6年 前 | 0 件の回答 | 0

質問

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

約6年 前 | 3 件の回答 | 1

質問

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

約6年 前 | 2 件の回答 | 0

質問

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

約6年 前 | 2 件の回答 | 0

質問

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

6年以上 前 | 1 件の回答 | 0

質問

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

6年以上 前 | 2 件の回答 | 1

質問

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

6年以上 前 | 2 件の回答 | 0

質問

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

6年以上 前 | 0 件の回答 | 0

質問

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

6年以上 前 | 2 件の回答 | 0

質問

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

6年以上 前 | 1 件の回答 | 0

質問

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

6年以上 前 | 1 件の回答 | 3

質問

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

6年以上 前 | 1 件の回答 | 0

質問

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

7年弱 前 | 0 件の回答 | 0

質問

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

7年弱 前 | 1 件の回答 | 1

質問

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

7年以上 前 | 3 件の回答 | 1

質問

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

7年以上 前 | 1 件の回答 | 0

質問

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

7年以上 前 | 2 件の回答 | 0

質問

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

7年以上 前 | 1 件の回答 | 1

質問

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

7年以上 前 | 1 件の回答 | 0

回答済み

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

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

7年以上 前 | 0