Answered

Polar plot in App Designer (Edit: Not possible April 2020)

At the moment the only way to use a polar axes within App Designer is to call the polaraxes command from within your code (such ...

Polar plot in App Designer (Edit: Not possible April 2020)

At the moment the only way to use a polar axes within App Designer is to call the polaraxes command from within your code (such ...

5 Monate ago | 0

| accepted

Answered

Plotting with datetime in App Designer

I suspect the issue you are running into is the default reset behavior of UIAxes. By default, the plot command calls newplot. T...

Plotting with datetime in App Designer

I suspect the issue you are running into is the default reset behavior of UIAxes. By default, the plot command calls newplot. T...

5 Monate ago | 1

Answered

How to use colormap() for a vector of images X in order to display indexed images from vector X?

The issue you are encountering is that |displayData| is normalizing the image data so that the maximum value of each image is eq...

How to use colormap() for a vector of images X in order to display indexed images from vector X?

The issue you are encountering is that |displayData| is normalizing the image data so that the maximum value of each image is eq...

etwa 2 Jahre ago | 0

Answered

How do I plot time (hh:mm:ss.000) vs samples as imported from a .csv file?

If you upgrade to R2018a, this process is a little more straightforward, but this code will work in R2016a. Step 1: Import yo...

How do I plot time (hh:mm:ss.000) vs samples as imported from a .csv file?

If you upgrade to R2018a, this process is a little more straightforward, but this code will work in R2016a. Step 1: Import yo...

etwa 2 Jahre ago | 1

Answered

Difference in the behavior of transparency in R2015a and R2016a

The effect you see is because the patches overlap one another. The red patch overlaps both the green and the blue patch, so you ...

Difference in the behavior of transparency in R2015a and R2016a

The effect you see is because the patches overlap one another. The red patch overlaps both the green and the blue patch, so you ...

etwa 2 Jahre ago | 0

Answered

Output of a mex file is not the same as the recursively-written computational routine

The problem is in these lines: //Getting a pointer to the real data in the output matrix outPUT = mxGetDoubles(plhs[0]);...

Output of a mex file is not the same as the recursively-written computational routine

The problem is in these lines: //Getting a pointer to the real data in the output matrix outPUT = mxGetDoubles(plhs[0]);...

etwa 2 Jahre ago | 0

| accepted

Answered

How to read all text files in a folder with unknown number of files?

You can use the |<https://www.mathworks.com/help/matlab/ref/dir.html dir>| command to generate a list of files that match a spec...

How to read all text files in a folder with unknown number of files?

You can use the |<https://www.mathworks.com/help/matlab/ref/dir.html dir>| command to generate a list of files that match a spec...

etwa 2 Jahre ago | 1

| accepted

Answered

GUI handles disappear after calling script

The issue is your call to |<https://www.mathworks.com/help/matlab/ref/findobj.html findobj>| and the |<https://www.mathworks.com...

GUI handles disappear after calling script

The issue is your call to |<https://www.mathworks.com/help/matlab/ref/findobj.html findobj>| and the |<https://www.mathworks.com...

etwa 2 Jahre ago | 1

| accepted

Answered

GUI handles disappear after calling script

I'm having trouble running your example. I think you are missing some pieces, including the file |ScriptCalledByCallbackTest.m|....

GUI handles disappear after calling script

I'm having trouble running your example. I think you are missing some pieces, including the file |ScriptCalledByCallbackTest.m|....

etwa 2 Jahre ago | 1

Answered

How to plot just a colorbar without plot?

A colorbar must be attached to an axes, so you have (at least) two options: # Create an axes, attach a colorbar, then make th...

How to plot just a colorbar without plot?

A colorbar must be attached to an axes, so you have (at least) two options: # Create an axes, attach a colorbar, then make th...

etwa 2 Jahre ago | 1

Answered

multi-line xvalues when making a heatmap with a matrix

The |heatmap| function currently doesn't allow multi-line x-value labels.

multi-line xvalues when making a heatmap with a matrix

The |heatmap| function currently doesn't allow multi-line x-value labels.

etwa 2 Jahre ago | 0

Answered

How to change X and Y axis values on a heatmap.

Sorry I'm late to this question, but in case you are still looking for an answer to your second question ("Another question is h...

How to change X and Y axis values on a heatmap.

Sorry I'm late to this question, but in case you are still looking for an answer to your second question ("Another question is h...

etwa 2 Jahre ago | 0

Answered

How can I combine two objects of different subclasses into the property of another class?

Your classes need to derive from the |<https://www.mathworks.com/help/matlab/ref/matlab.mixin.heterogeneous-class.html matlab.mi...

How can I combine two objects of different subclasses into the property of another class?

Your classes need to derive from the |<https://www.mathworks.com/help/matlab/ref/matlab.mixin.heterogeneous-class.html matlab.mi...

mehr als 2 Jahre ago | 1

| accepted

Answered

stacked histogram and xaxis issues

In order to use the |bar| command to plot a |histogram|, you need to specify the X-values when you call the |bar| command. For e...

stacked histogram and xaxis issues

In order to use the |bar| command to plot a |histogram|, you need to specify the X-values when you call the |bar| command. For e...

mehr als 2 Jahre ago | 0

| accepted

Answered

Zoomed in and inset histogram

Sounds like you have two questions: First Question: How do I "zoom in" a histogram? The answer depends on what exactly you...

Zoomed in and inset histogram

Sounds like you have two questions: First Question: How do I "zoom in" a histogram? The answer depends on what exactly you...

mehr als 2 Jahre ago | 0

| accepted

Answered

Unable to reverse the order of numbers on the Y-axis

Without being able to run your code this is just speculation, but it looks like you may be double-flipping your Y-axis tick labe...

Unable to reverse the order of numbers on the Y-axis

Without being able to run your code this is just speculation, but it looks like you may be double-flipping your Y-axis tick labe...

mehr als 2 Jahre ago | 0

Answered

GCA CurrentPoint with the DateTime Ticks on the X Axis

Because the |CurrentPoint| property stores x, y, and z all together in a single matrix, the |CurrentPoint| cannot reflect the mi...

GCA CurrentPoint with the DateTime Ticks on the X Axis

Because the |CurrentPoint| property stores x, y, and z all together in a single matrix, the |CurrentPoint| cannot reflect the mi...

mehr als 2 Jahre ago | 3

| accepted

Answered

Convert x-axis values to datetime

There is no documented way to directly change the ruler type, but you can do it by plotting |NaT| (not a time), for example: ...

Convert x-axis values to datetime

There is no documented way to directly change the ruler type, but you can do it by plotting |NaT| (not a time), for example: ...

mehr als 2 Jahre ago | 0

Answered

How can i fix this "Attempt to execute SCRIPT settings as a function"?

It looks like you have installed a third-party toolbox called "psat" (Is this the "Power System Analysis Toolbox"?) that has a f...

How can i fix this "Attempt to execute SCRIPT settings as a function"?

It looks like you have installed a third-party toolbox called "psat" (Is this the "Power System Analysis Toolbox"?) that has a f...

mehr als 2 Jahre ago | 3

Answered

Plot a moving dot inside a quiver plot that is constantly being updated

Regarding this line of code: scatter(H, Xball, Yball, 12, 'm', 'filled'); % will work but will keep showing all the balls ...

Plot a moving dot inside a quiver plot that is constantly being updated

Regarding this line of code: scatter(H, Xball, Yball, 12, 'm', 'filled'); % will work but will keep showing all the balls ...

mehr als 2 Jahre ago | 1

| accepted

Answered

Why imhist do not run?

|<https://www.mathworks.in/help/images/ref/imhist.html imhist>| is part of the Image Processing Toolbox. Could the problem be th...

Why imhist do not run?

|<https://www.mathworks.in/help/images/ref/imhist.html imhist>| is part of the Image Processing Toolbox. Could the problem be th...

mehr als 2 Jahre ago | 0

Answered

hi, i did GUI for image processing using matlab to see the running time. but i cannot show the running time in the gui, its only shown in the matlab command window. can anyone show me how to make it? please help me :(

Try |<https://www.mathworks.com/help/matlab/ref/tic.html tic>| and |<https://www.mathworks.com/help/matlab/ref/toc.html toc>|.

hi, i did GUI for image processing using matlab to see the running time. but i cannot show the running time in the gui, its only shown in the matlab command window. can anyone show me how to make it? please help me :(

Try |<https://www.mathworks.com/help/matlab/ref/tic.html tic>| and |<https://www.mathworks.com/help/matlab/ref/toc.html toc>|.

mehr als 2 Jahre ago | 0

Answered

I determined the shape of the object in image, how i can determine the object's color?

Steve Eddins posted a series of blog posts that may help with this question: * <https://blogs.mathworks.com/steve/2010/12/17/...

I determined the shape of the object in image, how i can determine the object's color?

Steve Eddins posted a series of blog posts that may help with this question: * <https://blogs.mathworks.com/steve/2010/12/17/...

mehr als 2 Jahre ago | 1

| accepted

Answered

Input a function to a function function without using @ in front of the input

There is no obvious way to do this. There are a lot of ways you could attempt to sort of make this work, but they would not be s...

Input a function to a function function without using @ in front of the input

There is no obvious way to do this. There are a lot of ways you could attempt to sort of make this work, but they would not be s...

mehr als 2 Jahre ago | 0

Answered

Plot DateTime vector as elapsed time in seconds from start of meaurement

It sounds like you want to plot |duration| values. Let's say that |t| is your vector of |datetime| values. You can convert those...

Plot DateTime vector as elapsed time in seconds from start of meaurement

It sounds like you want to plot |duration| values. Let's say that |t| is your vector of |datetime| values. You can convert those...

mehr als 2 Jahre ago | 0

| accepted

Answered

App Designer Axis Issue

Based on the block of code that you say you cannot modify, it looks like App Designer thinks you have manually specified all tho...

App Designer Axis Issue

Based on the block of code that you say you cannot modify, it looks like App Designer thinks you have manually specified all tho...

mehr als 2 Jahre ago | 2

Answered

How to begin axis from another value and make it a 0 point in plot matlab?

If you want the ticks on your plot to show something other than the real numbers, you can either (a) change the numbers, or (b) ...

How to begin axis from another value and make it a 0 point in plot matlab?

If you want the ticks on your plot to show something other than the real numbers, you can either (a) change the numbers, or (b) ...

mehr als 2 Jahre ago | 1

| accepted

Answered

Greetings. I want to ask on how to calculate radius of circle in matlab

Maybe one of these links will give you some ideas about how to get started: * <https://www.mathworks.com/help/images/examples...

Greetings. I want to ask on how to calculate radius of circle in matlab

Maybe one of these links will give you some ideas about how to get started: * <https://www.mathworks.com/help/images/examples...

mehr als 2 Jahre ago | 0

| accepted

Answered

How to increment and/or decrement with different values in the same loop

Here is a version that is certainly shorter, and produces the same result, but I doubt it is any more efficient. The benefit I s...

How to increment and/or decrement with different values in the same loop

Here is a version that is certainly shorter, and produces the same result, but I doubt it is any more efficient. The benefit I s...

mehr als 2 Jahre ago | 0

| accepted