Community Profile

photo

Pete sherer


Last seen: Today Aktiv seit 2012

Statistics

  • First Answer
  • First Review
  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


Vectorizing unicode2native
Hi I am trying to remove the non-compatible letter with windows-1252 encoding. I can do this using a for-loop, but trying to ...

4 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Is there a way to detect string/letter not compatible with windows-1252 encoding?
Hi, Is there a way to detect string/letter not compatible with windows-1252 encoding And then remove them?

4 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
Replacing special character 'É' to 'E'
Thanks very much guys. I used the function in the stack overflow.

4 Monate vor | 0

Frage


Replacing special character 'É' to 'E'
Hi, Is there a Matlab function to replace the special characters (like 'É') to the regular UTF-8 or ISO-8859-1? Thanks,

4 Monate vor | 4 Antworten | 0

4

Antworten

Frage


weboptions w/ Windows encoding
Hi What's the CharacterEncoding option for Windows? Example only lists 'US-ASCII', 'UTF-8', 'latin1', 'Shift_JIS', and'ISO-88...

5 Monate vor | 0 Antworten | 0

0

Antworten

Beantwortet
How to remove additional comma from string?
Thanks very much for your suggestions

7 Monate vor | 0

Frage


How to remove additional comma from string?
tdat = ["t1,t2,t3", "d2,d3,d4,"]' How can I remove the extra comma delimiter from string above so result is tdat = ["t1,t2,...

7 Monate vor | 3 Antworten | 0

3

Antworten

Frage


Extracting 2 Far right characters
Hi, How could I extract the 2 far right characters from cell string? tt= {'United Kingdom TR';'United Kingdom SR';'United Ki...

11 Monate vor | 2 Antworten | 0

2

Antworten

Frage


using accumarray to combine text
Hi, I am trying to use accumarray to concatenate string. tdata = table([ 1 2 2 3 4 2]', ["a","b","c","d","e","f"]', 'Variabl...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Beantwortet
How to convert number to text in thousand format?
Thanks very much

mehr als ein Jahr vor | 0

Frage


How to convert number to text in thousand format?
tt = strtrim( string(num2str( [2598.32 256 23125]', '%1.2f'))) tt = 3×1 string array "2598.32" "256.00" "231...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


Help with regexp to extract data
Hi I need help extracting the text and number or text before and after the "_". When an underscore is not present, then the w...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


anonymous function w/ accumarray
tdata = table([ 1 1 1 2 2]', [1 5 9 10 1]', 'VariableNames',{'year','id'}) Hi I got error message below. Could you help sh...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Calculating Contribution by group
Hi, I am trying to calculate the contribution within a group. Currnetly I am using below procedure, looking for ways to do it ...

fast 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Using accumarray with nested inline function
Hi I have below data and would like to use accumarray to perform calculation with inline functions locOut = @(x) matches( x,"G...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Will MATLAB support running Julia code through MEX?
https://github.com/bermanmaxim/jlcall

fast 2 Jahre vor | 0

Beantwortet
DB Toolbox: Calling Store Procedure
I tried to use command 'runstoredprocedure' but it seems that function doesn't exist anymore.

fast 2 Jahre vor | 0

Frage


DB Toolbox: Calling Store Procedure
Hi, I am using the Database toolbox to execute the store procedure. tSQL = ['{call LiveCAT.dbo.[nameOfSP]('input1','inp...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to use regexp to extract data?
Hi I have this cell array, and want to extract character before and after the "__" tdata = {'XX__TG','GB_TH','BN__TH'}'; I wan...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to parse text to numbers?
Hi I have text cell str looking like this? Is there a way to use regexp to convert this matrix? ttxt = {'No info','1-50.000...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to do vector calc for cost allocation
The problem seems simple to do it using for loop, but I wonder if there's an efficient way to do below calculation. costPerTota...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


JDBC Connection to Oracle DB
Hi I have insalled the new Java driver and got the following error 'JDBC Driver Error: No suitable driver found for jdbc:oracl...

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


issue with writetable in 2019b
Hi I observed behavior changed in writetable function between 2019a and 2019b. In 2019a, when Matlab write data to excel file...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
How simulate correlated Poisson distributions
Is the List() function a default one? I got this error message gpRV = List(Xs',Ps'); % Note tran Undefined function '...

mehr als 4 Jahre vor | 0

Frage


How simulate correlated Poisson distributions
Hi Is there a way to simulate correlated RVs where each RV follows poisson distribution? I have 2 RVs X1 and X2, and both foll...

mehr als 4 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


How to do pivot from table-type variable
Hi, I have this table-type data tdata.yearID=[1950;1950;1950;1951;1951;1951;1951;1952;1952;1952]; tdata.cluster=[1;3;...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to avoid for-loop here; repmat
Hi Could anyone help suggest a faster way to construct this vector? xval = [1 2 7 9]; numX = [1 4 2 3]; % I want fina...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


findpeaks with defined width
Is it possible to use findpeaks to sum values within bands. I am looking for a function that maximize sum values within a speci...

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How To Accumulate data by maximizing sum value?
Hi, From data below, is there a fast way to identify a block of continuous data that will give largest sum, second largest sum ...

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
How to get Lat/Lon from vec2mtx
I realized this is a bit off track. Similar to the Table join in SQL but applying the concept to spatial data. Simply it's e...

etwa 5 Jahre vor | 0

Mehr laden