Respondida
write in a specific line of text file
Use the append switch in |fopen|, |fprinft| an empty line, and |fprintf| the matrix with the FormatSpec of your choosing.

más de 8 años hace | 1

Respondida
How to download file from dropbox using e.g. websave?
For me using |?dl=1| instead of |?dl=0| did the trick.

más de 8 años hace | 1

| aceptada

Respondida
GUI elements locations has changed position
My solution is not to use GUIDE in the first place. It sets a lot of parameters for you, many of which don't preserve backwards ...

más de 8 años hace | 1

Respondida
How can I get different 2D views of a 3d medical images which has been saved in 3D matrix?
There are many viewers to be found on the File Exchange. Have a look at the answers to <https://www.mathworks.com/matlabcentral/...

más de 8 años hace | 1

Respondida
Skip entries in a legend when plotting from a table
Use explicit handles in your call to |legend|. Make sure you only pass 1 element of each type into the handle array. h_d=pl...

más de 8 años hace | 0

Respondida
I want to load 2 images, remove the rows of the second one by one so the first image can be displayed instead of the second?
Do you want to display intermediary steps? Or save them into frames of a gif? Anyway, for gray scale images us |A(n,:)=B(n,:)...

más de 8 años hace | 2

Respondida
How to freedraw with a mouse, like in paint?
Use ButtonDownFcn (of the axes object) to set a flag, use WindowButtonUpFcn (of the figure) to reset the flag. Now you can set W...

más de 8 años hace | 0

Respondida
save bar plot in a for loop as pdf
Read <https://www.mathworks.com/help/matlab/ref/print.html the documentation>. It is no use to guess how a function works. The d...

más de 8 años hace | 0

Respondida
How can I make mlint return all the variable names in my .m-file?
Maybe they will change this in later releases, but currently m-lint can't detect possibly missing structure fields. I suspect th...

más de 8 años hace | 1

| aceptada

Respondida
How do I download an older version of metlab?
<https://www.mathworks.com/downloads/web_downloads/download_release?release=R2015b> (you can find it again by searching for '...

más de 8 años hace | 1

Respondida
am getting an error on filter function using this image called _ *sweets.png*_
In Matlab, a color image is 3D, the third dimension being the color channels. You need to convert it to a grayscale image (e.g. ...

más de 8 años hace | 0

Respondida
How to free up memory used in a figure showing images?
Adam touches on a very important point: as soon as you start making GUIs, you should start using explicit parents for graphical ...

más de 8 años hace | 1

Respondida
How to prevent timer from executing code between two lines?
Write an explicit function for the TimerFcn that checks if a flag is set. Set that flag before your |fprintf| here and un-set it...

más de 8 años hace | 4

| aceptada

Respondida
Installation and run from SD card
As long as you don't suddenly remove the drive, it should be all OK. I can't think of any reason why it would conflict with the ...

más de 8 años hace | 3

Respondida
Using pause, but stop if user input
<https://www.mathworks.com/help/matlab/ref/waitforbuttonpress.html |waitforbuttonpress|> may be of help here. You can also check...

más de 8 años hace | 0

| aceptada

Respondida
How to plot a solid ellipsoid and get the xyz coordinates of all its points?
You can use the coordinates to convert it to a patch with faces and vertices, after which you should be able to modify <https://...

más de 8 años hace | 0

Respondida
How can I give certain values to my x-axis
<https://www.mathworks.com/help/matlab/ref/xlim.html |xlim|> can set the xlimits of your plot. Using |axis| is also possible.

más de 8 años hace | 0

Respondida
I want to read the images from multiple sub-folders, kindly help
Image analyst has written a function that can do this, see <https://www.mathworks.com/matlabcentral/answers/121033-how-to-loop...

más de 8 años hace | 1

Respondida
How to detect edge/contour of threshold image ?
<https://www.mathworks.com/help/images/ref/bwboundaries.html> If you don't have the image processing toolbox, things get much...

más de 8 años hace | 1

| aceptada

Respondida
Too many input arguments error
I would assume this syntax sets the cdata property of all the children to the same image. If you want to do multiple things, use...

más de 8 años hace | 0

Respondida
How to synchronize three planes on the same figure to run simultaneously
Coincidentally, I am actually working on something that does that. It is not yet ready for the FEX, but I will remove the files ...

más de 8 años hace | 1

Respondida
Root Mean Square Value of Histogram
If you don't have the original data, you can approximate it with the code below. Histo = [1;47;56;1298;9770;1114;0;0;2] ...

más de 8 años hace | 2

| aceptada

Respondida
Scope of 'ButtonDownFcn' property of lines in structure [R2017b]
To avoid these confusing bugs, it may be simpler to recreate the |handles| variable when you call the function: 'ButtonDown...

más de 8 años hace | 0

| aceptada

Respondida
How to check the input from user is "positive integer Number" ?
Check out <https://www.mathworks.com/help/matlab/ref/validateattributes.html |validateattributes|> or <https://www.mathworks.com...

más de 8 años hace | 1

Respondida
How to fill square box according to percentage in Matlab?
Maybe this function: <https://www.mathworks.com/matlabcentral/fileexchange/39487-custom-marker-plot> (a word of warning: you ...

más de 8 años hace | 0

| aceptada

Respondida
How to find out location where temperature is high based on color graph using Matlab?
# crop to the relevant part (remove axis and dashed lines) # convert to indices with |rgb2ind| # use |[r,c]=find(A_ind==min(A_...

más de 8 años hace | 2

Respondida
For loop with multiple variables
If you mean a nested loop: for st = 1:numel(pointst) for ed = 1:numel(pointed) end end

más de 8 años hace | 1

Respondida
could anyone help me to solve the error in the following code
You didn't use a check to see if you were leaving only 1 value for the last iteration. N_UE_rows=ceil(sqrt(randi([2, numel(...

más de 8 años hace | 1

| aceptada

Respondida
Could anyone clarify my doubt with respect to the following code
The reason why the indices are different, is that |idx| is an index to |unused_rows|, which changes when you remove items from i...

más de 8 años hace | 2

Respondida
is Matlab compatible with endless OS?
<https://www.mathworks.com/support/sysreq.html> Matlab is compatible with Windows, Mac and Linux (Ubuntu 14.04 LTS, 16.04 LTS...

más de 8 años hace | 2

Cargar más