photo

Florian


No affiliation

Last seen: 3 years ago Active since 2018

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 3

View badges

Feeds

View by

Answered
how to write correct looping
for x=1:10000 if x<=99 km(x,:)=1/8*(pf(x,1)+pf(x+1,1)+pf(200+a,1)+pf(201+a,1)+pf(10201+a,1)+pf(10202+a,1)+pf(a+10401...

4 years ago | 0

| accepted

Question


Interactive pixel extraction from an image along custom line
The following code extracts pixel values for the first column of an image. IMt = imread('test.jpg'); % convert to double form...

4 years ago | 2 answers | 0

2

answers

Question


How to read a corrupt mat file in reverse?
For the first time in 15 years of using matlab I ran into the issue today of not being able to open a mat file. Following the s...

4 years ago | 0 answers | 0

0

answers

Answered
Assign multiple custom labels in one plot using a for loop
Here is how I was able to solve it in the end (if anybody wants to do a similar display): stats=[3.0000 26.7150 43.0300 5...

4 years ago | 0

| accepted

Question


Assign multiple custom labels in one plot using a for loop
stats=[3.0000 26.7150 43.0300 53.6300; 4.0000 17.5450 33.4050 80.7700; 5.0000 32.3300 39.6800 109.7...

4 years ago | 1 answer | 0

1

answer

Question


place down error underneath text string
Hi all, to place a down arrow for a text annotation in a plot I can use... text(0.5,0.5,'\downarrow mytext') ..which puts th...

4 years ago | 1 answer | 0

1

answer

Question


custom labels for errorplot
Hi all, is there a way to add custom labels to each errorbar in an erroplot using a code (instead of a manual text box)? In m...

4 years ago | 1 answer | 0

1

answer

Question


String manipulation (adding additional characters and spaces)
tostr = [3 14; 4 38; 5 25; 15 1; 16 196]; str=num2str(tostr); How can I modify the above created string 'str' into the followi...

4 years ago | 1 answer | 0

1

answer

Question


Plot P50 value with range from P10 to P90 for different groups on same plot
Hi all, for each group on the axis X, I would like to plot corresponding values for P10, P50 and P90 along axis Y. The plot s...

4 years ago | 1 answer | 0

1

answer

Question


Probability of occurrence as a function of distance
Assume % each color type represented by another integer color=[5;3;4;3;5;4;4;5;16;4;16;4;16;16;16;4;16;16]; % corresponding d...

4 years ago | 1 answer | 0

1

answer

Question


Pseudo-random distribution of points with minimum distance
Hi all, I use the following code to generate an exact number of points (650 in this case) within a one hectar area: numPoints ...

5 years ago | 3 answers | 0

3

answers

Question


Convert cell array to character array including string manipulation
Hi all, I have a n*1 cell array where each value is a combination of drive letter, folder path and file name and file extensi...

6 years ago | 2 answers | 0

2

answers

Question


Understand linkage in dendrogram for regrouping original data points
Hi all, I have a 516 x 4 matrix X representing 516 data points with 4 observations each. Using hierarchical clustering I group ...

6 years ago | 0 answers | 0

0

answers

Question


XTicklabels don‘t match
I am plotting a matrix using below code. The XTicklabels are supposed to be labeled per tick, but they only label every secon...

6 years ago | 1 answer | 0

1

answer

Question


Correspondance matrix for matching values in two vectors
Assume two vectors with 20 values as follows: a=[2 2 2 2 2 1 1 1 3 3 2 2 1 1 1 1 3 3 2 2]; b=[1 1 1 1 2 2 2 2 2 2 2 2 ...

6 years ago | 2 answers | 0

2

answers

Question


Repeat values in a vector
Assume a1=[1 5 8]; b1=[6 4 5]; a2=[1 2 3 4 5 6 7 8]; Now I want to create a matching vector with values repeated a...

6 years ago | 2 answers | 0

2

answers

Question


Annotations with arrows for scatter plot
I have a scatter plot and would like to add labels with arrows for each data point (similar to the example below). I have a c...

6 years ago | 1 answer | 0

1

answer

Question


scatter plot with narrowed color range
<</matlabcentral/answers/uploaded_files/135438/Capture.PNG>> Hi all, below scatter plot has two variables plotted against ...

6 years ago | 1 answer | 0

1

answer

Question


scatter plot custom colors
Assume a=[1 5 7 1 3 9 4 6 8 7]; b=[4 5 6 7 2 6 9 4 2 1]; c=[1 2 0 1 0 2 1 1 0 1]; scatter(a,b) How can I now colo...

6 years ago | 1 answer | 0

1

answer

Question


probability distribution from a simple vector
Assume a vector like... 1 3 2 3 1 4 2 3 1 3 4 2 1 1 2 3 4 How can I calculate the likelyhood that nr 2 follows after nr 3 o...

6 years ago | 3 answers | 0

3

answers