Is it possible to make different subplots with different variables on each subplot?
if you have an array like this: a= 1 2 3 4 5 2 4 6 8 10 1 3 5 7 9 where each row represents a varia...

mer än 7 år ago | 0

Find Xmin and Ymin to Imcrop an image in Matlab
xmin is the x coordinate of the lower left corner of the cut you want to make in the image, ymin is the y coordinate of the l...

mer än 7 år ago | 1

How to find the distance between lines in a image in matlab
With this function you can find the lines: <http://nl.mathworks.com/help/vision/ref/vision.houghtransform-class.html> You ...

mer än 7 år ago | 0

how can chose a fix rectangular in series of images that position may be changeable?
imshow('pout.tif') h=imrect(gca,[0 0 30 30]); wait(h) Gives you a draggable rectangle with xwidth and ywidth of 30.

mer än 7 år ago | 1

what's ploy function ? how to use this function ?
I think you mistyped the function: plot, haha.

mer än 7 år ago | 0

How to perform image segmentation
If I understand you correctly, you want to extract only the nucleus, and not the background, this is impssible because you can't...

mer än 7 år ago | 0

how to store the matrix in a single table after every iteration
have a look at this inbuild function: <http://nl.mathworks.com/help/matlab/ref/cat.html>

mer än 7 år ago | 0

Create picture HDR with Matlab
If you have the image processing toolbox you can use the following commands: im1=imread('image1.tiff') im2=imread('image...

mer än 7 år ago | 1

| accepted

How to store color image after reading in a single matrix? How to copy the matrix in a .txt file?

mer än 7 år ago | 0

Is it possible to delete "subplots"?
X=1:10; Y=X.^2; Z=X.^3; figure hold on p1=plot(X,Y); p2=plot(X,Z); pause(2) delete(p2)

mer än 7 år ago | 0

Is it possible to delete "subplots"?
Yes it is: figure hold on h1=subplot(1,2,1) plot(1:10,'r'); h2=subplot(1,2,2) plot(2:11,'g'); pause(2) ...

mer än 7 år ago | 4

How to use transparent dots on plots?
They explain how to it on this website: <http://undocumentedmatlab.com/blog/plot-markers-transparency-and-color-gradient> ...

mer än 7 år ago | 0

multiple images stored to folder
Use the save function? save('image.tif','X') Where X is your image in matlab, you could do it in a for loop. like this: ...

mer än 7 år ago | 0

Find position of fiducials in an image
For anyone wondering how I fixed this: clc clear all close all original=imread('Untitled12345.png'); foto=im2bw...

mer än 7 år ago | 1

| accepted

if an array like [.002 1.1103 0.665 .002]. how can i get [a b c a]?
You could make a cell that looks like this: x = [0.2000] 'a' [0.3000] 'b' [0.5000] 'c' Then do ...

mer än 7 år ago | 0

How i can insert a random integer between two numbers?
a=uint16(2+rand*99)

mer än 7 år ago | 0

Question

Find position of fiducials in an image
I have the following image: <</matlabcentral/answers/uploaded_files/29523/fiducials.png>> I'm trying to let maltab find th...

mer än 7 år ago | 2 answers | 0

2

How to plot colorbar in matlab?
a=[1:6]; b=[2 3 4 2 1 3]; bar(a,b)

mer än 7 år ago | 0

How to remove a part of image?
testimage=imread('pout.tif'); imshow(testimage) H=imrect(gca); pos=wait(H); close all testimage(pos(1,2):pos(1,...

mer än 7 år ago | 1

| accepted

coding new england 39-bus system
So your array xf has a size of 15 rows by 20 columns, you are trying to acces row 20, which doesn't excist. Also, please use ...

mer än 7 år ago | 0

Unable to meet integration tolerances without reducing the step size below t
Often that warning means that your system of ODEs is stiff. See section 7.9 of the ODE chapter of Cleve's "Numerical Computati...

mer än 7 år ago | 0

| accepted

How to get area of a polygon in matlab
<http://nl.mathworks.com/help/matlab/ref/polyarea.html>

mer än 7 år ago | 0

which one is faster for loop or switch

mer än 7 år ago | 0

| accepted

Adding map of the east coast to plotted lat/longs
map=imread(mapimage); imshow(map); hold on plot(positions,'-') I'm not sure what kind of filetypes you have so I c...

mer än 7 år ago | 0

IF.....OR with conditions
N=NaN(1,3); N2=NaN(1,4); if any(isnan(N)) || any(isnan(N2)) end any will give you a single logical value!

mer än 7 år ago | 0

Compare datetime-values to equality
t1 = datetime(2013,1,13,0,0,0); t2 = datetime(2013,1,13,11,0,0); tf = isequal(t1,t2) tf= 0

mer än 7 år ago | 0

Output argument "PulsTijd" (and maybe others) not assigned during call to (location)
Explanation: One of the functions you have called is defined to return an output argument but that output argument does not e...

mer än 7 år ago | 1

Extract duplicate values from both 1st and 2nd column
a=[10 10 10; 10 10 10; 5 5 5; 4 4 4]; a = 10 10 10 10 10 10 5 5 5 4 4 4...

mer än 7 år ago | 0