已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

| 已接受

已回答
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 前 | 1

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

| 已接受

已回答
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 前 | 1

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
Shifting a specific part of the graph
What have you already tried?

1 year 前 | 0

已回答
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 前 | 0

已回答
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 前 | 1

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 1

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
I need help to make graphs please
It is easier to help for specific questions, i.e., you tried something and it did not work. The way you have phrased this is mor...

1 year 前 | 0

加载更多