Question

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

fast 2 Jahre ago | 0 answers | 0

Answered

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.

fast 2 Jahre ago | 0

Question

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

fast 2 Jahre ago | 1 answer | 0

Answered

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

fast 2 Jahre ago | 1

| accepted

Question

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

fast 2 Jahre ago | 1 answer | 1

Question

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

etwa 2 Jahre ago | 2 answers | 1

Question

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

etwa 2 Jahre ago | 2 answers | 0

Answered

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

etwa 2 Jahre ago | 0

| accepted

Question

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

etwa 2 Jahre ago | 1 answer | 0

Answered

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

etwa 2 Jahre ago | 0

Answered

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

etwa 2 Jahre ago | 0

| accepted

Question

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

etwa 2 Jahre ago | 1 answer | 0

Answered

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

mehr als 2 Jahre ago | 0

Question

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

mehr als 2 Jahre ago | 2 answers | 0

Answered

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

mehr als 2 Jahre ago | 0

| accepted

Question

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

mehr als 2 Jahre ago | 0 answers | 0

Answered

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

mehr als 2 Jahre ago | 2

Question

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

mehr als 2 Jahre ago | 1 answer | 0

Question

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

mehr als 2 Jahre ago | 1 answer | 0

Question

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

mehr als 2 Jahre ago | 1 answer | 0

Question

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

mehr als 2 Jahre ago | 1 answer | 0

Question

Rationale for functions going into Computer Vision vs. Image Processing toolboxes

I am curious about the thought process is for deciding if a builtin function belongs in the Computer Vision vs. Image Processing...

mehr als 2 Jahre ago | 0 answers | 0

Question

Why all Matlab windows blank and unresponsive?

Today I was coding in Matlab then went to lunch. When I returned, all the Matlab windows (editor, command window, 2 figure windo...

mehr als 2 Jahre ago | 0 answers | 1

Answered

What are the capabilities of the MATLAB Support Package for Parrot drones? How is it different from the already existing Simulink Support Package?

Beware to anyone considering the Parrot Mambo FPV or Bebop: both are discontinued, see here.

What are the capabilities of the MATLAB Support Package for Parrot drones? How is it different from the already existing Simulink Support Package?

Beware to anyone considering the Parrot Mambo FPV or Bebop: both are discontinued, see here.

mehr als 2 Jahre ago | 0

Answered

Which drones are supported by the MATLAB Support Package for Parrot Drones?

Beware to anyone considering the Parrot Mambo FPV or Bebop: both are discontinued, see here.

Which drones are supported by the MATLAB Support Package for Parrot Drones?

Beware to anyone considering the Parrot Mambo FPV or Bebop: both are discontinued, see here.

mehr als 2 Jahre ago | 0

Answered

Convert matrix of RGB double values to image

I just realized the following works, but please let me know if I am losing information by converting to uint8, figure; imshow(...

Convert matrix of RGB double values to image

I just realized the following works, but please let me know if I am losing information by converting to uint8, figure; imshow(...

mehr als 2 Jahre ago | 0

| accepted

Question

Convert matrix of RGB double values to image

I have a matrix which contains RGB values which range from 0 to 1. I would like to turn it into an image, but if I use uint8 the...

mehr als 2 Jahre ago | 1 answer | 0

Question

Other drones besides Parrot Mambo FPV

I am looking to buy a camera drone and process the images in Matlab. Since this is new to me, I would like easy integration with...

mehr als 2 Jahre ago | 4 answers | 0