Feeds
답변 있음
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...
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년 초과 전 | 0
| 수락됨
질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변답변 있음
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...
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년 초과 전 | 0
| 수락됨
질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 3 | 0
3
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
scatter plot with narrowed color range
<</matlabcentral/answers/uploaded_files/135438/Capture.PNG>> Hi all, below scatter plot has two variables plotted against ...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 3 | 0