Community Profile

photo

pamela sulis


Con actividad desde 2015

Estadísticas

  • Thankful Level 4

Ver insignias

Content Feed

Ver por

Pregunta


how many times a string is present in a cell array
I have the array a={'2';'23';'231';'2312';'23121';'231213';'3';'31'} and the cell array b={'2' '21' '' '' '' '' '';...

casi 8 años hace | 4 respuestas | 0

4

respuestas

Pregunta


find how many times sequences are present in a string array
Hi! I have S={1;[1 631];[1 631 618];[1 631 618 574];[1 631 618 574 608];631;[631 618];[631 618 574]} and T={'1' '5...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


find the index of the rows that have all 1
Hi, I have a matrix A= [ 0 0 0 0 0 0 1 1 1 1 1 1 1 0 0 ...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Compare vectors and save the values
Hi! I have T=[1 1;1 2;1 3;1 4;256 2;259 2;263 2;268 2;315 2;330 3;335 3;336 2;337 2;338 2;339 2;340 2;345 2;345 3;349 2;35...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Compare strings of different dimensions
Hi! I have the string s1 and s2 s1={'1' '631' '618' '574' '678'} s2={'1' '596' '674' '' '';'674' '631' '1' '631' '1';...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to find subsequences
Hi! I have a={'1' '631' '618' '574' '678'} and I want to find all possible sequences: {'1'} {'1' '631'} {'1...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to automate the count of consecutive values in a cell array
Hi! I have a cell array with this values a={'2' '3' '4' '5'; '2' '2' '3' '1'; '2' '2' '2' '1';'1' '2' '3' '3'; '1' '2' '3' ...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to count the number of consecutive values
Hi! I have Location(1,4).loc that is a 137x19 cell array. I want to find the number of time that first column have value '674...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


add colums in a cell array of strings
Hi, I have the cell array Location(1,4).locID, attached, and I want to trasform it: I want that every row have 19 colums (19 i...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Trasform number in strings
Hi! I want to trasform [674 631 1 10 144] in {'674' '631' '1' '10' '144'}, I have tried to use num2str but it...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Error: Subscripted assignment dimension mismatch.
Hi, I have a struct semanticTrajCompact: after traspose the content in every cell of semanticTrajCompact(1,4).locID, I want to...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Compact the values in a string
Hi! I have a string '641 617 674 674 631 631 631 631 654 629 625 625 673 674': I want to delete duplicate. Ex '641 617 67...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


delete columns in a struct array
Hi! I have a struct array E <1x9 struct>, attached, and I want to delete the columns of each struct that correspond to []: e...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to use 'numel' in nested struct?
Hi! I use numel in a nested struct: for i=1:9 for j=1:size(E(1,i).bcd,2) for jj=1:numel(E(1,i).bcd{1,j...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to compare numeric strings
have a problem to find the similarity of two patterns. I use LCS of this two pattern to represent their longest common part. For...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How can I split a string?
Hi, I have this string '0231563972' and i want to split it, put a space between the number: '0 2 3 1 5 6 3 9 7 2'. Can you give ...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to optimize a code to find postfix in a sting
Hi! I have a cell 106x1 of strings 'TrajCompact'. In every string I want to find all the prefix that are combination of (0,1,2,3...

más de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Compare values of array of matrix 5x5x106
Hi! I have a array of logical matrix 5x5x106 (attached file): I want to compare every logical matrix with the others to fin...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Find prefix and postfix in a string
Hi! I have a cell array (106x1) of strings, I want to find a prefix in every string and, after find the postfix, count the numbe...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to create a semantic graph in matlab?
Hi! I want to create a semantic tree using matlab, can you give me some suggest to begin? Thanks

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


If this value of 5x5 cell with vectors [106x1] are different to zeroes,count them e put the count in a matrix.
I have matchcounts (5x5)cell, every cell has a vector of double [106x1]. The vectors of double have zeros and non zero values. I...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Optimization code to avoid the repeating of the same expression
Hi! There is a method to compact this expressions? matchstarts_00(k) = regexp(TrajCompact(k,1), '0.+?0'); %for '00' matc...

más de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Error: Conversion to double from cell is not possible
Hi! Can you help me to understand why I have this error? Matrix(5,1)={sum(matchcounts_ab,1) sum(matchcounts_ba,1) sum(match...

más de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to compact a string?
Hi! I have a sting 'aaaaaaabccccbbbdcccccaaaa' and I want to trasform it in 'abcbdca': I want to have only one of the consecuti...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Find char consecutive in a string
Hi! I have this string stringa={stringa1; stringa2; stringa3; stringa4}; stringa1='{a(abc)(ac)d(cf)}'; stringa2='{(a...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


compare the value of two matrix
Hi! I have a problems with this code: for k=1:5 for i=1:size(A(1,k).a,1) for j=1:size(dateAll(1,k).date,1...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


'Out of memory problems'
Hi! Matlab give me problem 'Out of memory'; I try different solutions: - Give higher priority to Matlab.exe task - Increas...

más de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Improper assignment with rectangular empty matrix
Hi! I have a struct s, I want inizialize dateAll with a matrix of zeros different for every loop I try this two codes: 1) ...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Trasform an array of structs with string in an array of structs with numbers
Hi, I have a array of struct: for every struct I want to trasform sting into number with the function datevec and at the end I w...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Undefined function 'eq' for input arguments of type 'struct'
Hi! I create this code in which s is a struct if(s(1,1)==[]) i=i+1; end I have an error: 'Undefined function 'eq...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Cargar más