Statistik
RANG
7.729
of 295.448
REPUTATION
6
BEITRÄGE
111 Fragen
4 Antworten
ANTWORTZUSTIMMUNG
48.65%
ERHALTENE STIMMEN
6
RANG
of 20.227
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 153.872
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
Averaging values within bins
Hi, I have the two arrays x and y (attached), which I plot with plot(x,y). This is creating "bins" of width 5: <</matlabc...
etwa 6 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Constructing the matrix for a color-coded 2d matrix visualization
Hi all, *I have the following:* - Two distance vectors: Each of these vectors contains the distances of all points (pixe...
etwa 6 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
Interpolation of noisy data
Hi, I have the following plot (can be plotted with plot(B,C) based on the attached mat file): <</matlabcentral/answers/u...
etwa 6 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Finding an array of numbers in an array
Hi I have the attached coords_17 array, which is 2092 x 3 dimensional. Within this array, I want to find say the row which c...
etwa 6 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Extracting numeric values from character array
Hi, I have a character array "coords" (containing 3D coordinates), which looks something like this: val = '[ 48. -...
etwa 6 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
General linear model: Model fit
Hi I am using Matlab's GLM function: [b,dev,stats] = glmfit(...) Where can I get an output of the overall model fit (...
mehr als 6 Jahre vor | 1 Antwort | 0
1
AntwortFrage
condition on two arrays
Hi, Given three arrays x,z and y: z = [5,5,7,7,7,11,15,15,29,29,29] y = [1,2,3,2,1,1,1,1,2,3,1] x = [5,7,29] x ...
fast 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
colormap for a matrix
Given a matrix: 0 0.0104 0.0027 0.0104 0 0.0163 0.0027 0.0163 0.0000 I am using...
fast 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
reshaping cell containing double arrays
Hi, I have (as an example) the following cell array: test = 1×4 cell array [40×1 double] [40×1 do...
etwa 7 Jahre vor | 3 Antworten | 0
3
AntwortenFrage
load files when only partial filename is known
Hi I am looking for a way to load all files which start with a certain string, say "Subject_1_Part_1.....mat". "..." would b...
etwa 7 Jahre vor | 0 Antworten | 1
0
AntwortenFrage
Crossvalidate (SVM)-classifier
Hi, I have the following code which runs fine as long as I have "crossval" set to "off". However, I would like to crossvalidate...
etwa 7 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
Using "hold on" - bars do not have the same width
Hi I seem to have the strange problem that when I plot the following, the bars of the two histograms do not seem to have the ...
etwa 7 Jahre vor | 1 Antwort | 1
1
AntwortFrage
How to fit a (left) skewed distribution
Hi, Currently, I am using the following code to fit distributions to my data: pd = fitdist(mydata,distribution) x_val...
etwa 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Merging different arrays depending on condition
Hi I have a following vector called cases as follows: cases = [1,4,4,3,1,2,2,4,3,4,4,...]; Additionally, I have four ar...
etwa 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Systematically add entries to vector array
Hi, Given I have a vector as for instance: [ 1 3 5 7 1 3 ...] I want to add twice the number "8" after each entry, hence w...
mehr als 7 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Adding legend to reference line in a plot
Hi, As you can see below, I am plotting bar graphs. There is additionally also a red reference line in the plot. Now I want ...
mehr als 7 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
Random sampling more elements than data contains
Hi, I am familiar with the datasample function, however, datasample does not allow for sampling more from a vector x than the n...
mehr als 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Averaging over a symmetric matrix
Hello, Given an m,n matrix, I want to create a new matrix by doing the following: The element (i,d) and the element (d,i) sh...
mehr als 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Cell containing double arrays to cell
Hi, Having (for instance) a 1x3 cell which contains in each entry a double array of a different size. For instance: cell(1...
mehr als 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
repelem substitute for older matlab version
Hi, I want to do the following (what usually repelem does, however an older version of Matlab does not seem to have it): G...
mehr als 7 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Changing order of elements of one vector depending on the order of another vector
Hi I have two vectors, say: a = [0.1 0.4 0.2 0.9 2] b = [5 10 11 2 4] I want to order a, such that the vector would ...
mehr als 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Sampling with a distribution from the elements of a vector
Hi, Say I have an 1xm vector with any kind of numeric entries (for instance doubles or integers). As an example, I would have...
mehr als 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
find index conditional on two vectors
Hi, I have two vectors = resp = [1 2 3 1 1 2 3 3 3 1]; fing = [1 2 1 2 1 1 1 2 2 1]; How do I find the indices of *r...
mehr als 7 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Bin data and fit curve
Hi, I have the following data: - A vector of physical stimulus properties, something like: [0.8, 0.7, 0.56,0.4,....,0.01] ...
mehr als 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Applying function only to certain files in directory
Hi, I have the following code, which applies the function 'load_nii' to files from the current directory which I select manual...
mehr als 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Reformating cell array of chars
Hi What I want is the following: I have 4D-files, I want to extract the names of the 3d slices in these files. Say I have a...
mehr als 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Different colors for plotting bar plots
I plot three group of bars with errorbars as follows - but the problem is that I want to set for each group the colors different...
mehr als 7 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
Group bar in histogram, add label
Hi, I have the following code for my histograms already: mean_accuracy = [0.37,0.44,0.67,0.39,0.64,0.64]; % mean acc...
mehr als 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Using loop to extract fields from a struct
Hello I am using the following code: names = fieldnames(data); % extract names of features for i = 1:5 class(i) = ...
mehr als 7 Jahre vor | 3 Antworten | 1
3
AntwortenFrage
Finding the best fitting distribution - bars plotted with gap
Hi I am using the function allfitdist to find the best fitting distribution(s) to my data (Allfitdist was once recommended on...
fast 8 Jahre vor | 0 Antworten | 0