Answered
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...

9 years ago | 0

Answered
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...

9 years ago | 1

Answered
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 ...

9 years ago | 0

Answered
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.

9 years ago | 1

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

9 years ago | 0

Answered
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...

9 years ago | 0

Answered
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>

9 years ago | 0

Answered
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...

9 years ago | 1

| accepted

Answered
How to store color image after reading in a single matrix? How to copy the matrix in a .txt file?
im1=imread('image.tiff'); dlmwrite(image.txt,im1);

9 years ago | 0

Answered
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)

9 years ago | 0

Answered
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) ...

9 years ago | 4

Answered
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> ...

9 years ago | 0

Answered
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: ...

9 years ago | 0

Answered
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...

9 years ago | 1

| accepted

Answered
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 ...

9 years ago | 0

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

9 years 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...

9 years ago | 2 answers | 0

2

answers

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

9 years ago | 0

Answered
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,...

9 years ago | 1

| accepted

Answered
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 ...

9 years ago | 0

Answered
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...

9 years ago | 0

| accepted

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

9 years ago | 0

Answered
which one is faster for loop or switch
<http://blogs.mathworks.com/pick/2008/01/02/matlab-basics-switch-case-vs-if-elseif/> read in the comments. (I guess you are t...

9 years ago | 0

| accepted

Answered
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...

9 years ago | 0

Answered
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!

9 years ago | 0

Answered
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

9 years ago | 0

Answered
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...

9 years ago | 1

Answered
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...

9 years ago | 0

Answered
error with opening help.doc
javaclasspath ctrl+f in command window -> searchf for mlwidgets, it should be there. If not, I guess you have two possibili...

9 years ago | 0

Answered
How to I disable truncation of long strings in structs in command window?
myStruct.myFieldname = repmat('A', 1, 100); fprintf(myStruct.myFieldname) AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

9 years ago | 0

Load more