質問

create a matrix with numbers from vector

i have a vector as v = [ 1 1 1 2 2 2 3 3 4] i wanted to create a new matrix as M = [ 1 1 1 0 0 0 0 0 0; 0 0 0 1 1 1 0 0 ...

5ヶ月 前 | 3 件の回答 | 0

質問

How to get the intersecting coordinates of a binary image?

is there any method to get the coordinate points of the intersecting positions from this binary image and plot it in a graph...

5ヶ月 前 | 1 件の回答 | 0

質問

How to add limit condition to existing code

How to add lim h ->0 condition to the below code. How is tril, toeplitz in code related to the above equation? How to edit ...

5ヶ月 前 | 2 件の回答 | 0

質問

Segment yellow and white colour lines

How to get the get only the yellow and white lines from an image.

5ヶ月 前 | 1 件の回答 | 0

質問

get 2 set of random coordinates

How to plot as above randomly with two colors I have now given xy = [2.5 4.5; 3.5 4.5; 4.5 4.5; 4.5 2.5; 3.5 3.5]; ...

6ヶ月 前 | 1 件の回答 | 0

質問

How to show Movement from point A to point B

How to show the movement of between 2 points using any method

6ヶ月 前 | 1 件の回答 | 1

質問

select a region from an image satisfying a condition

How to select a region from an orientation image satisfying the following condition <</matlabcentral/answers/uploaded_files/1...

1年以上 前 | 1 件の回答 | 0

質問

how to change the xmarkings of graph

i have plotted a graph, i want its xlim to be from 3 to 7, mine is showing 1 to 5. When i do xlim([3 7]) only the last 3 values ...

1年以上 前 | 1 件の回答 | 0

質問

how to get the (x,y) coordinate values of points touching bounding box

I have a binary object How can i get the (x,y) co-ordinate value of the points touching the bounding box.

1年以上 前 | 2 件の回答 | 0

質問

how to get string and numbers separately using csvread

How to get string and numbers separately from csv file using csvread. I have a csv file with "A-Z" numerical columns and 100 row...

1年以上 前 | 1 件の回答 | 0

質問

can the value of rand('seed') be saved

I set random seed value as 0 rand('seed',0); then i do genetic algorithm using ga Is there any way i can save the val...

1年以上 前 | 1 件の回答 | 0

質問

display newline string from cell array

<</matlabcentral/answers/uploaded_files/108771/Untitled.png>> I have a cell array of characters. In that i have a newline cha...

1年以上 前 | 1 件の回答 | 0

質問

key generation and inversing

i generate a random key using the below line Key = randperm(n*m); please can someone explain what does the below two l...

1年以上 前 | 1 件の回答 | 0

質問

Image watermarking using LSB

Below are few line from LSB image watermarking. Please can someone explain why we divide by 32 in the first code line. Why do ...

1年以上 前 | 1 件の回答 | 0

質問

how to find angles of a triangle

If i know the values of (xi,yi), (xj,yj) and (xu,yu) how to find the angle thetai and thetaj <</matlabcentral/answers/uplo...

1年以上 前 | 1 件の回答 | 0

質問

How to write equation a for X and Y

How to write equation a for X and Y using the below image (how to obtain X and Y) <</matlabcentral/answers/uploaded_files/107...

1年以上 前 | 1 件の回答 | 0

質問

segment the characters in the image

How to segment the image into line, word, and character.

1年以上 前 | 2 件の回答 | 0

質問

using bwareafilt to get area in a range

i used bw2 = bwareafilt(bw, [40 50]); to get regions having area in the range 40-50. but more than one region is co...

1年以上 前 | 1 件の回答 | 0

質問

how to get the mask of the region between 2 lines

having (x1,y1) and (x2,y2) coordinate value, how to get the mask region between the 2 lines

1年以上 前 | 1 件の回答 | 0

質問

Find the area between 2 plotted regions in a graph

How to find the area lying between the two region

1年以上 前 | 1 件の回答 | 0

質問

how to save the filled region to as an image

structBoundaries = bwboundaries(binaryImage); xy = structBoundaries{i}; fill(xy(:,2),xy(:,1),'w'); how to save the...

1年以上 前 | 1 件の回答 | 0

質問

how to get the 1st and the 3rd boundary objects in the binary image

i segmented an image and got a binary image bw when i do the below line, i get only 1 numberOfblobs [labeledImage, numbe...

1年以上 前 | 1 件の回答 | 0

質問

save image seen in imagesc

when i display input image using "imagesc", it shows in a different format compared to "imshow" imagesc(Img,[0 255]); color...

1年以上 前 | 2 件の回答 | 0

質問

get the intersection points in the graph

if i draw a line at y = 1, how to get the point at which the line will intersect the graph (marked in blue line in the image)...

1年以上 前 | 2 件の回答 | 0

質問

draw a line parallel to x-axis

How to draw line parallel to x-axis at a point (y = 1) and also find the area above that line.

1年以上 前 | 1 件の回答 | 0

質問

how to do a convolution

how to do a convolution of 32 kernels of size 5 × 5 × 1

1年以上 前 | 1 件の回答 | 0

質問

find area of the filled region of a graph

How to find area of the filled region?

1年以上 前 | 1 件の回答 | 0

質問

Find euclidean distance between 2 regions

I have two regions R1 and R2 How to find "d(pi; pj)", which denote the Euclidean distance between any two pixels pi and pj. ...

1年以上 前 | 1 件の回答 | 0

質問

How to compute centroidal distances

I wanted to compute centroidal distances, by calculating the distance is between the geometric centroid of the segmented object ...

1年以上 前 | 2 件の回答 | 0

質問

divide RGB color space into 16x16x16 bins

How to divide RGB color space into 16x16x16 bins. And then calculate the number of the bins, into which there are pixels to ...

1年以上 前 | 1 件の回答 | 0