Community Profile

photo

Karl


Aktiv seit 2013

Followers: 0   Following: 0

Kontakt

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to set y-axes intercept
How do you make the y-axis cross the x-axsis at observation 1 and not 0? Sometimes it happends automatically, sometimes not. Try...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Remove double axis-label
The folollowing two lines inserted before the two last lines in the script above made it work: set(AX, 'xTickLabel','') ...

mehr als 10 Jahre vor | 0

Frage


Remove double axis-label
Does anybody know how I can remove the original axis-numbers "5", "10" etc from the x-axis in the figure that is generated by th...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to activate loop in adress
The loop in the adress in the code below does not work. The stored file gets the filename "fig(Vars2{iVars})" instead of the int...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Combining two strings to a common string
How can I combine the following two strings Variables = {'var1', 'var2', 'var3'}; Sectors = {'sec1', 'sec2'}; to the ...

mehr als 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Simultanious for loop (two variables)
How do I make j = 1 when i = 2 and j = 2 when i = 3 in the loop below (that does not do this)? a = rand(1,2); b=rand(...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Vector where elements equals previous elements + 1
I wish to make a column vector where ecah element eqaul the previous element + 1. I also want to be able to decide by a loop how...

mehr als 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


How to make figure title from multiple sources when looping
The following script makes 6 figures with the headlines "Scenario X" where X=1,2,3. I want to include also "Vars2" in the title,...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to Loop variable names
Does anybody know how to write a loop that does the same as this: Y1 = zeros(5,8); Y2 = zeros(5,8); The loop belo...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Too many points on x-axis
Putting the following line between the plot-command line and the XTickLabel-command worked set(gca, 'XTick',[1 2 3 4 5 6]) ...

fast 11 Jahre vor | 2

Frage


Too many points on x-axis
If you run the following script, Matlab uses 0.5 increments on the x-axis. This gives the wrong label, since it starts over agai...

fast 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Different commands for strutures and "regular" matrices
I have problems using structures in some commands. I am not able to do the same things with structures as with regular matrice...

fast 11 Jahre vor | 3 Antworten | 1

3

Antworten

Frage


How to graph structures 2
I asked the following question here http://www.mathworks.se/matlabcentral/answers/77360-how-to-graph-structures, but the propose...

fast 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to Graph structures
I have just learned how to make structure variables. I have problems making graphs with these. The commands below makes 6 differ...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Too many dimensions error msg in figure
I get the message "Error using plot Data may not have more than 2 dimensions" when running the follwoing commands: Alder =...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Loop variable names and file names
I have asked this questions several times before, http://www.mathworks.se/matlabcentral/answers/74778-loop-file-and-variablena...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to use same colors inn all figures when making several figures with a loop
I have created a loop that makes several figures. When I apply "rand(1,3)) in the loop below, each figure gets different colors....

fast 11 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Different colors in graph
Does anybody know how I can add different colors to the graphs in the folowing loop: gjG below is an 11x8 matrix. Aar = {'...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Loop multiple plots single figure 3D matrix
Does anybody know how I can write the following commands in a loop figure hold on plot(gjG(11,:,1)); plot(gjG(11,:...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Loop filename and variable name
I want to make a loop that loops over the number 2011 in the following script. [~, ~, raw] = xlsread('Q:\Karl\HH\FUT2013\LO...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Loop file- and variablenames when importing
I want to make a loop that loops over the number 2011 in the following script. [~, ~, raw] = xlsread('adress\*2011*.xlsx','B...

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Using loop in strings for import
I have excelfiles with names "2011", "2012", "2013" that i want to read from Matlab. I want to use a for loop reading these exc...

fast 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to sum part of a column?
Hi. I am new to Matlab. Does anybody know how I can calculate the column sum of row 1 and 2 in column 3 in the follwoing mat...

fast 11 Jahre vor | 2 Antworten | 0

2

Antworten