Question


how to duplicate the values in one matrix create another matrix of specific dimension
i have a cell array of dimension 1x60, each matrix in cell array is of dimension 23x23 of double datatype i converted this cell...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


comparing 3x3 block with center pixel
i have a matrix as shown below i wanted to take 3x3 pixel and take 3 pixels at a time along with the center pixel, and comp...

environ 5 ans il y a | 2 réponses | 0

2

réponses

Question


Find histogram bins at which cumulative histogram has 75% of maximum value
How to find histogram bins at which cumulative histogram has 75% of maximum value of an image.

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


concatenate column values in a vector
i have a vector v1 = [ 1,0,1,0] (dim 1x4 double) i wanted to join the values in v1 to a new variable v2 = [1010] (dim 1x1 do...

environ 5 ans il y a | 3 réponses | 0

3

réponses

Question


give labels according to string
I have a cell array of strings with the following pattern String Label 'Abc\a1\L\XYZ1R08' 1 'Abc\a1\R\XYZ1R09' 1 ...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


Find geometric mean and arithmetic mean
how to find geometric mean and arithmetic mean of histogram of an image

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


get all image files from nested folder
how to get all image files in such a directory ( folders inside folders )

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


delete empty cells from cell array
how to delete the empty cells and get back 4x4 matrix i tried out = ca(~cellfun('isempty', ca)); but i'm getting output ...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How to create a white rotated box inside a black box
How to create a white rotated box inside a black box as shown in image

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


find a vector in a cell array
AP = {[1,2,14];[1,5,14]} P = {[1,5,14]}; i wanted to check if P is in AP i did as IsInAp = find(cellfun(@(x) ismember(path,x...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


select rows satisfying a particular condition
having a matrix of dim 5 x 10 if i give start_index = 1, and end_index = 3, i wanted to get rows starting with value of start...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


how to find all possible path between 2 nodes
knowing the connectivity between nodes, how can i find the possible path between 2 nodes?

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


how to select neighbouring 5 pixels of an image
I wanted to take one pixel from an image say im(x,y) then take the neighbouring 5 pixels of position im(x,y) find the maximum ...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


size of video file and audio file
how to find size of video file and audio filesize of video file and audio file? i saw for audio file we can use siz = wavread...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


find the shortest path
i have 2 set of coordinates S1-S25 (set 1) and D1-D10 (set2) i have connection between coordinates my start points are from se...

plus de 5 ans il y a | 3 réponses | 0

3

réponses

Question


draw multiple lines based on coordinates
P1 P2 P2 P1,P3 P3 P2 i have 3 points P1, P2, P3 the connection between points is given above. How to draw lines based on th...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


create a cell array with incrementing values
how to create a cell with values like a1 a2 a3 a4 a5 ........ a25 i need to get the above values into a row cell array and col...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


concatenate values from matrix and cell array
i have a matrix and a cell array mtric = 1 2 3 4 5 6 7 8 9 cell_array = aa bb cc dd ee ff gg hh ii i wanted to combi...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


split a rectangular matrix
i have a matrix as input = [1 0 0 0; 0 1 0 0; 0 0 1 0]; how can i split a the input matrix as output1 = [1 0 0 0; 0 0 0 0; 0 ...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


create custom filter to image
create custom filter using mean and covariance

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


shortest path between 2 set of coordinates
I have 2 set of coordinates --> set_1 and destination If i select a cordinate in set_1 and destination (eg: from set_1 [10.5, 4...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


plot coordinates in the center of grid
xy = [ 11.2871990000000 75.8008150000000 11.2826320000000 75.8033060000000 11.2648170000000 75.8115220000000 11.287192000000...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


how to get back numerical value
V = [-0.00153846153846154; 0; -0.000769230769230769; -0.0126923076923077; 0.00384615384615385]; M = dec2bin(typecast(double(V),...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


get common position in cell array and replace with specific values
idx = [ 3 6 7 ] ; ids = [ 2 3 5 6 7 ] ; i have a cell of size 1 x 8 Initially all values in cell_array of size 1 x 8 is...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


split a diagonal matrix
v = [2 1 4]; D = diag(v) Having a diagonal matrix, i wanted to split the diagonal matrix as below M1 = [ 2 0 0 ...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


retrieve binary data back
I have a binary data as 00 10 11 01 10 11 11 01 I need to replace this data as if 00 = 0 01 = 1 10 or 11 = * if i get a ...

plus de 5 ans il y a | 3 réponses | 0

3

réponses

Question


create a new matrix from a vector
create a new matrix from v = [1 1 1 2 2 2 3 3 4]; u=unique(v); R=arrayfun(@(x)v==u(x),1:numel(u),'un',0); M=+vertcat(R{:}) ...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


create vector based on string data
cell_array = { 'FA.EA'; 'FA.EB'; 'FA.EC'; 'FA.EA'; 'FA.EB'; 'FB.EC'; 'FB.EA'; 'FB.EB'; 'FC.EC'; 'FC.ED'; 'FC.EA'; 'F...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


hide numerical values in image
how to hide a matrix into an image and retrieve it. i used the lsb code from the link https://in.mathworks.com/matlabcentral/...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


how to hide 2 images as same size of cover image
i have 3 gray images g1, g2 and g3 of size 512 x 512. I wanted to hide g2 and g2 in g1 to get watermarked image w1 using any m...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Charger plus