提问

How to retrieve a table entry using row name?

The function anova returns a 3x5 table and I would like retreive the value from the row named Model and column named pValue. How...

3 years 前 | 1 个回答 | 1

提问

Getting a command like gather to run silently

I am using the command gather many times in a loop, and it throws out the following updates each time, Evaluating tall expressi...

3 years 前 | 2 个回答 | 0

提问

Do I need anything more than a db file and the Database Toolbox to access a Sybase database?

I have been given two files MyDatabase.db and MyDatabase.log file by a coworker, who said they are a Sybase database. To access ...

3 years 前 | 1 个回答 | 0

已回答

Divide a 3D shape into equal-volume subregions?

Based on the comments, my original question was too open ended, so I am answering this to bring it to a close. A simple 3D divis...

Divide a 3D shape into equal-volume subregions?

Based on the comments, my original question was too open ended, so I am answering this to bring it to a close. A simple 3D divis...

3 years 前 | 1

| 已接受

提问

Divide a 3D shape into equal-volume subregions?

I have a 3D shape that can be approximated with Delauny triangularization or a convex hull. I would like to divide the shape int...

3 years 前 | 1 个回答 | 0

提问

Are these the same: set(0, ... and set(groot, ...

Let's say I always want graphics to appear a certain way, so I put commands to set graphic preferences in my startup.m file. I h...

3 years 前 | 1 个回答 | 0

已回答

What is the default transfer function for fitnet?

Greg, do you happe to know where in the documentation it says that tansig is the default? I can only find how to list all the ...

What is the default transfer function for fitnet?

Greg, do you happe to know where in the documentation it says that tansig is the default? I can only find how to list all the ...

3 years 前 | 1

提问

Matlab equivalent for Octave command bitunpack

I have an Octave program that I would like to turn into Matlab code. The sticking point is the Octave bitunpack command, which r...

3 years 前 | 0 个回答 | 0

已回答

Is there a function in MATLAB for detecting points inside a polyhedron?

You could use inpolyhedron from the FEX, discussed here.

Is there a function in MATLAB for detecting points inside a polyhedron?

You could use inpolyhedron from the FEX, discussed here.

3 years 前 | 0

提问

How to get handle to legend in a specific axes?

I would like to find the handle to one legend that appears in a specific subplot, while there are a lot of other plots with lege...

3 years 前 | 1 个回答 | 0

已回答

How to migrate command history to new computer?

Here is what I figured out from this answer, in case it helps someone. At the Matlab command prompt on old computer #1, enter ...

How to migrate command history to new computer?

Here is what I figured out from this answer, in case it helps someone. At the Matlab command prompt on old computer #1, enter ...

3 years 前 | 1

| 已接受

提问

How to migrate command history to new computer?

I have been using Matlab 2019b on one computer, and need to install it on another. Is there any way I can migrate my command his...

3 years 前 | 1 个回答 | 1

提问

Setting different properties for some line objects stored in the same handle

Let's say I have a handle h1 that contains several line objects, like so: h1 = plot(1:10, rand(10, 25)); % h1 contains 10 line ...

3 years 前 | 2 个回答 | 1

提问

Accessing field data in nonscalar structure array

Let's say I have a nested non-scalar structure array, Patient(1).Vitals.weight = 185; Patient(1).Vitals.temperature = [98 96 1...

3 years 前 | 2 个回答 | 0

已回答

DOCTYPE error from xmlread

It turns out this was not an xmlread issue, and has nothing to do with AllowDoc, but instead is due to a problem with the XML fi...

DOCTYPE error from xmlread

It turns out this was not an xmlread issue, and has nothing to do with AllowDoc, but instead is due to a problem with the XML fi...

3 years 前 | 0

| 已接受

提问

DOCTYPE error from xmlread

I have been given an XML file and am trying to read it with xmlread. If I call it either of the following ways, DOMNode = xmlre...

3 years 前 | 1 个回答 | 0

已回答

Is it possible to have a zero value in the pie-chart data in MATLAB 7.6 (R2008a)?

If you are doing this to plot a pie which is missing a slice, see here ('Partial Pie').

Is it possible to have a zero value in the pie-chart data in MATLAB 7.6 (R2008a)?

If you are doing this to plot a pie which is missing a slice, see here ('Partial Pie').

3 years 前 | 0

已回答

"The handle is invalid" when running an exe

Passing along the solution from here in case it helps someone: Due to the popup window that the exe generates, I needed to add a...

"The handle is invalid" when running an exe

Passing along the solution from here in case it helps someone: Due to the popup window that the exe generates, I needed to add a...

3 years 前 | 0

| 已接受

提问

"The handle is invalid" when running an exe

I would like to run an executable from the Matlab command line. However when I try system('MyProgram.exe') I get the error, U...

3 years 前 | 1 个回答 | 0

已回答

How can I move my MATLAB Path from my old version of MATLAB over to a new version?

Upgrading to R2019b from R2019a, I copied my personal directories into the new pathdef.m file using the R2019b matlab editor and...

How can I move my MATLAB Path from my old version of MATLAB over to a new version?

Upgrading to R2019b from R2019a, I copied my personal directories into the new pathdef.m file using the R2019b matlab editor and...

3 years 前 | 0

提问

How to match an image subset in an image?

Let's say I have image #1, and a second smaller image #2 containing some of the pixels from image #1. The pixels in image #2 wer...

3 years 前 | 2 个回答 | 0

已回答

How to match an image subset in an image?

This is slow (15 seconds on my machine) but it seems to return the expected location, % Create a mask for selected pixels in ...

How to match an image subset in an image?

This is slow (15 seconds on my machine) but it seems to return the expected location, % Create a mask for selected pixels in ...

3 years 前 | 0

| 已接受

提问

Import a Photoshop selection into Matlab

Let's say I have an image that I open in Photoshop, and I make a selection of a region, for example with the lasso tool. I would...

3 years 前 | 0 个回答 | 0

已回答

Intensity profile line with interpolation

You can specificy the number of points, n, in improfile and also choose the interpolation method such as bicubic (avoid nearest ...

Intensity profile line with interpolation

You can specificy the number of points, n, in improfile and also choose the interpolation method such as bicubic (avoid nearest ...

3 years 前 | 2

提问

Excluding Hough transform artifacts at 45 and -45 degrees

I am following steps in this example to find lines in my image, which contains a lot of nearly-horizontal lines. The Hough trans...

3 years 前 | 1 个回答 | 0

提问

How to check if one of output variables is not called

If I have a function which can return multiple outputs, how can I tell from inside the function that some of the output variable...

3 years 前 | 1 个回答 | 0

提问

How to loop through an unknown number of matrix dimensions?

I would like to loop through all dimensions of a n-dimensional matrix, but the matrix dimensions are unknown beforehand. Below i...

3 years 前 | 1 个回答 | 0

提问

How to make 'far away' markers appear smaller (perspective)

To make it easier to visually interpret 3D data when shown on a 2D surface like the computer screen, I would like to plot data s...

3 years 前 | 1 个回答 | 0