Lukas Netzer
Followers: 0 Following: 0
Statistica
24 Domande
0 Risposte
RANK
81.174
of 295.467
REPUTAZIONE
0
CONTRIBUTI
24 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
83.33%
VOTI RICEVUTI
0
RANK
of 153.912
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
Trying to replace for loop with faster code
I have the following code in a rather large script, which unfortunately is VERY slow: for x = 1:size(table1) for y = 1:siz...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Replace loop with more efficient procedure to make it faster
So I'm running this loop: for n = 1:size(table1) for m = 1:size(table2) if table1.WP1(n) == table2.WP1(m) && tabl...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Matching ranges of values and inserting new rows in columns
Following a previous question, I now need to dive a little deeper: I have two tables (workspace is attached): table1 contains ...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Matching columns of two different tables with different tablesizes
I have two tables (attached): In table1 I have two columns called WP_1 and WP_2. In table 2 I have three columns called WP1, W...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Using index to match rows of table
I have an Index: index = [1;3;7;10;15;17;20]; I want to use that index to access rows in table 1: table1.WP1 = [1;8;17;24;26;...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Insert new row with values in a table before specific values
Hey, I have a table with 3 columns containing the following values: Now I want to insert a new row with (0,0,0) everytime WP...
oltre 3 anni fa | 2 risposte | 0
2
risposteDomanda
replace specific commas using strrep
I converted my data: '[[0, 145, 0], [145, 169, 1], [169, 1693, 3], [1693, 1708, 1], [1708, 2729, 3], [2729, 2779, 0]]' using s...
oltre 3 anni fa | 2 risposte | 0
2
risposteDomanda
Remove Curly brackets from string/array - what am I working with?
I have acutally no clue what I am working with. I got tables containing i.e. the following: '[[0, 145, 0], [145, 169, 1], [1...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Remove String and extract numbers to move to new column
I have a column like that: WPS "[0, 0]" "[0, 5]" "[5, 115]" "[115, 219]" "[219, 262]" "[262, 328]" "[328, 408]" "[408, ...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Error using bar when plotting from variables
I'm trying to plot with the following code: w1 = 0.5; x = [1 2 3 4] y1 = [C1a, C1d, C2a, C2d] y2 = [C1aO, C1dO, C2aO, C2dO] ...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Plotting content from structure
Hey, I am trying to plot values from a structure but somehow am getting Error using startswith. Here is the code (examplified)...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
If-condition: if number is +-5% of another
I'm trying to set an if-condition like that: for x = 1:1:size(t{n}) if t{n}.sh(x) = +-0.05 t{n}.DiffMileagekm(x) %here is wher...
oltre 3 anni fa | 2 risposte | 0
2
risposteDomanda
Using index to name variables
I'm running a script with a index containing: t{1} = Location1; t{2} = Location2; t{3} = Location3; tt{1} = "Location1"; ...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
index in safe-title
I would like to define my file with the title, so that includes the according index. I tried: saveas(gcf,'title_t{n}','jpeg') ...
oltre 3 anni fa | 2 risposte | 0
2
risposteDomanda
Conversion operators error!
I'm trying to set my xTicklabels: set(gca, 'xtick',1:8,'XTickLabels',compose('diffNA2l','diffNA2h','diffA2l','diffA2h','allNA2h...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Have index of numbers and letters in title
I try to setup the title for one of my boxplots to use an index like that: t{n} = abc123abc; I tried using: title('title', ...
oltre 3 anni fa | 2 risposte | 0
2
risposteDomanda
Customize tick values in boxplot
Hey, I have the following boxplot: Instead of 1, 2, 3 on the x-axis I want to have 50kW, 150kW, 300kW - I tried changing tic...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Rerun script with different table input
Hey, I wrote quite a long script, that uses table data, like so: Location = table1.Location; Is there a way to replace "table...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Print output if elements of a list match values in a column
I have a column/list of values A: 1 2 3 4 5 6 7 8 9 10 And an according list/column of values B: A B C D E F G...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Using unique-function - show amount of times unique value was found
Hey, I am using: [C, ia, ic] = unique(Location); Now I get a list of unique Locations in Location but am actually looking for...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Get distribution percentages of list of values
I have a list of values: x = 185726 49585 10342 13788 3656 18303 120647 9627 20600 5035 102547 48199 130645 4809...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Using unique-function to add up values
Hey guys, I am splitting a column according to it's unique values: [C, ia, ic] = unique(Location) Which gives me (examplified...
oltre 3 anni fa | 2 risposte | 0
2
risposteDomanda
Keep y value below certain value in a loop
Hey, I am trying to run a function, where y can never be below zero and never above Capacity. The function looks like that: r...
oltre 3 anni fa | 2 risposte | 0
2
risposteDomanda
Generate new column from cumulating another
Hey, I am trying to cumulate the values in a table's column and generate a new column with those values. The Table has 2734 li...
oltre 3 anni fa | 1 risposta | 0