Answered

Subplot disappeared after getting its handle

Ok, I have now seen that the error is in the object that you are trying to copy, it should NOT be the subplot, but the actual ob...

Subplot disappeared after getting its handle

Ok, I have now seen that the error is in the object that you are trying to copy, it should NOT be the subplot, but the actual ob...

12 months ago | 0

| accepted

Answered

How to save training process output in MATLAB?

That should be pretty easy, train whatever architecture you are using (say you call that net) with whatever training data. Once ...

How to save training process output in MATLAB?

That should be pretty easy, train whatever architecture you are using (say you call that net) with whatever training data. Once ...

12 months ago | 0

Answered

Subplot disappeared after getting its handle

The problem is the order in which you are passing the commands, you create a subplot in a figure, then you call for a new figure...

Subplot disappeared after getting its handle

The problem is the order in which you are passing the commands, you create a subplot in a figure, then you call for a new figure...

12 months ago | 0

Answered

My plot for a photon traveling around a black hole isn't updating.

Is h_time being updated? if yes, then it may be due to the initial display with h_traj = plot(nan, nan); try not using nans bu...

My plot for a photon traveling around a black hole isn't updating.

Is h_time being updated? if yes, then it may be due to the initial display with h_traj = plot(nan, nan); try not using nans bu...

12 months ago | 0

Answered

Change size and location of plot area in plot window

You need to learn how to use the handles. Instead of just plotting things, grab the handle to the figure and the axes and then...

Change size and location of plot area in plot window

You need to learn how to use the handles. Instead of just plotting things, grab the handle to the figure and the axes and then...

12 months ago | 0

Answered

Trying to randomly permute a time series, error with time point

A=[1 2 3 4 5 6 7] A(1:3) A(-1:2) Yes, Matlab needs the index of the position starting from 1, so if you use negative numbers ...

Trying to randomly permute a time series, error with time point

A=[1 2 3 4 5 6 7] A(1:3) A(-1:2) Yes, Matlab needs the index of the position starting from 1, so if you use negative numbers ...

12 months ago | 0

| accepted

Answered

Create colorbar outside of parent of axes

That is easy, when you create figures and plots, you can grab the handle and then you can modify its properties: a = rand(64); ...

Create colorbar outside of parent of axes

That is easy, when you create figures and plots, you can grab the handle and then you can modify its properties: a = rand(64); ...

1 year ago | 1

Answered

to extract information from a text file?

You can solve this problem by finding strings in the text that you have. Let's save the example that you have shown in variable ...

to extract information from a text file?

You can solve this problem by finding strings in the text that you have. Let's save the example that you have shown in variable ...

1 year ago | 0

Answered

Can I overlay a large number of image?

Hello You can always overlay things by summing them, say your data is a 3D stack and each layer is one of your frames, a ...

Can I overlay a large number of image?

Hello You can always overlay things by summing them, say your data is a 3D stack and each layer is one of your frames, a ...

1 year ago | 0

Answered

Trying to get an answer for 'a' - while loop??

Run the code! a=0 while a<5 a = a + 2; end disp (a)

Trying to get an answer for 'a' - while loop??

Run the code! a=0 while a<5 a = a + 2; end disp (a)

1 year ago | 0

| accepted

Answered

How to fix this error : Not enough input arguments.

Hello Most probably you are not calling the function with all the necessary input parameters, look at this example in which t...

How to fix this error : Not enough input arguments.

Hello Most probably you are not calling the function with all the necessary input parameters, look at this example in which t...

1 year ago | 1

Answered

Is there any better alternative of four nested loops?

Hi In Matlab, if you think in matrices you can avoid many many many loops. For example, if you want to find if a column of a ce...

Is there any better alternative of four nested loops?

Hi In Matlab, if you think in matrices you can avoid many many many loops. For example, if you want to find if a column of a ce...

1 year ago | 0

Answered

How to split the last 4 elements in a column into a new column?

In Matlab is better to think of matrices than to think of columns (like you would do in Excel for instance), so think of your fi...

How to split the last 4 elements in a column into a new column?

In Matlab is better to think of matrices than to think of columns (like you would do in Excel for instance), so think of your fi...

1 year ago | 0

Answered

Using Matlab compiler, accents are replaced by question marks.

try using the ascii code for the letters that you want to be displayed, e.g. disp(strcat('d',233,'terministes'))

Using Matlab compiler, accents are replaced by question marks.

try using the ascii code for the letters that you want to be displayed, e.g. disp(strcat('d',233,'terministes'))

1 year ago | 0

Answered

How to visualise results of regionprops3 function?

What regionprops will do is to calculate the metrics for each of the elements in your data, and you can then use these to select...

How to visualise results of regionprops3 function?

What regionprops will do is to calculate the metrics for each of the elements in your data, and you can then use these to select...

1 year ago | 0

Submitted

Segmentation of 3D HeLa Cells

Segmentation, Measurement and Visualisation of Nuclear Envelope of HeLa Cells observed with Electron Microscope

1 year ago | 1 download |

Answered

How to create two-dimensional boxplots

Have a look at this code: https://uk.mathworks.com/matlabcentral/fileexchange/68006-boxplot3d-create-three-dimensional-boxplo...

How to create two-dimensional boxplots

Have a look at this code: https://uk.mathworks.com/matlabcentral/fileexchange/68006-boxplot3d-create-three-dimensional-boxplo...

1 year ago | 0

Answered

Error with plot command

I do not think this is a problem of plot, but rather that your variable has only 1 value and you are addressing a higher value. ...

Error with plot command

I do not think this is a problem of plot, but rather that your variable has only 1 value and you are addressing a higher value. ...

1 year ago | 1

Answered

why are my programs treated as function?

Very very hard to help without the file itself, and without knowledge of what V is. I ran that line in Matlab online and worked ...

why are my programs treated as function?

Very very hard to help without the file itself, and without knowledge of what V is. I ran that line in Matlab online and worked ...

1 year ago | 0

Answered

How can I make a boxplot match at 0 with another plot?

A workaround to solve your problem is to call the boxplots with zero values in between your actual data. E.g. plot([1 2 3 4 5...

How can I make a boxplot match at 0 with another plot?

A workaround to solve your problem is to call the boxplots with zero values in between your actual data. E.g. plot([1 2 3 4 5...

1 year ago | 0

Answered

Why there are high frequency spikes in the instantaneous frequency variation vs time curve of a faulted phase current ?

It is very different to answer this question on the abstract, please add more details and figures preferably to be able to help....

Why there are high frequency spikes in the instantaneous frequency variation vs time curve of a faulted phase current ?

It is very different to answer this question on the abstract, please add more details and figures preferably to be able to help....

1 year ago | 0

Answered

how to slice 3d .fig file?

If I understand correctly, what you want is a slice of your 3D data, and add that to your figure (say one surface with one sl...

how to slice 3d .fig file?

If I understand correctly, what you want is a slice of your 3D data, and add that to your figure (say one surface with one sl...

1 year ago | 1

Answered

selecting area on a image and Tracking the same area in the next subsequent images automatically

Ok, the first part of this problem is rather simple, if I understand correctly, you want to select a region of interest in one i...

selecting area on a image and Tracking the same area in the next subsequent images automatically

Ok, the first part of this problem is rather simple, if I understand correctly, you want to select a region of interest in one i...

1 year ago | 0

| accepted

Answered

How do i remove an outlier?

Use a moving filter, in your case, the best would be to replace each value by the median value of a neighbourhood, that is if yo...

How do i remove an outlier?

Use a moving filter, in your case, the best would be to replace each value by the median value of a neighbourhood, that is if yo...

1 year ago | 0

| accepted

Answered

Generate code for randomly oriented short fiber RVE?

You are not running your loops correctly. If you ident your code (control-i) you can see better: for i=1:1:N while 1 ...

Generate code for randomly oriented short fiber RVE?

You are not running your loops correctly. If you ident your code (control-i) you can see better: for i=1:1:N while 1 ...

1 year ago | 0

| accepted

Answered

Can we move a vertex in voronoi diagram?

Yes, quite easy: X=[1 2 1.1 1.3 1.4 1.5 1.3 1.2 1.8 2.1 2.2]; Y=[1.5 1.3 1.5 1.8 1.4 1.6 2.5 2.3 2.4 1.1 1.8]; vorono...

Can we move a vertex in voronoi diagram?

Yes, quite easy: X=[1 2 1.1 1.3 1.4 1.5 1.3 1.2 1.8 2.1 2.2]; Y=[1.5 1.3 1.5 1.8 1.4 1.6 2.5 2.3 2.4 1.1 1.8]; vorono...

1 year ago | 0

Answered

Can LBP be used for flame analysis?

Assuming that LBP stands for Local Binary Patterns, I would say it depends. If you already have the flame located and segmented,...

Can LBP be used for flame analysis?

Assuming that LBP stands for Local Binary Patterns, I would say it depends. If you already have the flame located and segmented,...

1 year ago | 0

Answered

How to caluclate centroid of a voronoi cell of a voronoi diagram.

This is not a trivial problem especially because the voronoi algorithm does not give you a series of closed polygons, i.e. chang...

How to caluclate centroid of a voronoi cell of a voronoi diagram.

This is not a trivial problem especially because the voronoi algorithm does not give you a series of closed polygons, i.e. chang...

1 year ago | 0

Answered

How to detect cricket wide ball in video using Matlab .

It is not simple to offer any help here. Any image processing or video processing depends totally on the images or videos, which...

How to detect cricket wide ball in video using Matlab .

It is not simple to offer any help here. Any image processing or video processing depends totally on the images or videos, which...

1 year ago | 0