Community Profile

photo

Sebastian Daneli


Last seen: 3 Monate vor Aktiv seit 2019

Followers: 0   Following: 0

Statistiken

  • Thankful Level 4

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Optimization: Capacitated Facility Location Problem
Am tasked to solve the capacitated facility location problem, i.e., subject to I've looked at i...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


Getting Chi-Squared Statistic
Hi How can i use Matlab to find for example the following chi-squared statistic? I can't make sense of the various commands....

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Simple vector question.
Say that I have the vectors v1=[1 2 3] v2=[4 3 8] how can I, by using these two, create the following vector v3=[4 3 3 8 8 8...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Question regarding matrix with NaN.
I have the following matrix: X=[9 6 9; 0 2 nan; 3 1 2] and from this one, I would like the following matrix new=[3 3 3 2 2 3 ...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Using mat2cell
This is the third time that I'm forced to write a question about mat2cell since the explanation Matlab gives about said command ...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Scale on x-axis
I have a vector of 256 data points which is equal to 0.8 ms in total. How do I set the scale from 0 to 0.8, with steps for examp...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


using mat2cell
I'm sorry for asking this question again, but I really, really don't understand how mat2cell works. I have a matrix of size 1001...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Using mat2cell
I'm sorry, but I can't seem to understand how to use this function. I have a datamatrix of size 1000x512, and a want to store t...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Sliding function in window?
I have data from recorded brain activity before and after injection of a drug, and I would like to examine the data visually. S...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Storing individual elements of vector in cell.
Say that i have this vector x=[2 45 13] and I want to store these elements in a cell, where each element is stored individual...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Takin the mean of data in tables
I have his table X1=[9 6 9;3 2 7]; X2=[0 2;4 0]; X3=[3 1 2; 8 9 7]; X=table(X1,X2,X3) And I need to take the mean of the ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Creating a table with only headers
I would like to create an empty table with the headers 'Observations', 'Mean', 'Treatment' and 'Residual'. I would also like the...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Questions about data types and tables
Data types is not strong side in Matlab, so i'm hoping that someone can help me. See comments in code %% I'm storing data type...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Replacing element in table
I have this table X1=[9 6 9;3 2 7]; X2=[0 2;4 0]; X3=[3 1; 8 9]; X=table(X1,X2,X3) How do I replace X3 with X1 so that i...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Finding largest data from table
Lets say that I have a table containing three matricies of different lengths. X1=[9 6 9 0;3 2 7 0]; X2=[0 2;4 0]; X3=[3 1 2;...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Question about matricies in Matlab
Let's say that I have these three vectors: x1=[9 6 9]'; x2=[0 2]'; x3=[3 1 2]' Is it possitble to work with these in Matlab ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to do Multivariate Regression Analysis in Matlab
Let's say that I have the model and the data X=[1 1 1 1 1; 0 1 2 3 4]'; Y=[1 4 3 8 9; -1 -1 2 3 2]'; How can I fit and eva...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Issue with FFT/Power Spectral Density
Can someone explain what I'm doing wrong here? I wanna evaluate the PSD of ECG data (electrocardiogram), but I end up with this ...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Change of basis, rotating an ellipse
I though I knew how to do this, apperently i did not. I'm supposted to draw a confidence ellips aroud a cluster of data centered...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Naming cells in for loop
I can't figure this out, how to I name 10 cells in a for loop? A loop that looks something like this for i=1:10 c(insert s...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Highlighting different part of graph
I have this graph, represented as a vector I am analyzing this signol for regions of interest, and I'm saving these positions...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Finding certain numbers in vectors
Lets say that I have these vectors v1=[2 4 1 4] v2=[1 3 3 4] v3=[2 6 9 5] and I wan't to find all the vectors th...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Filling area between lines with color
I have this figure: And I wish to fill the area between the two straight lines with a color. I've looked around and tried fil...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Find order of increasing integers
I have a vector [3,4,8,9,10,13] How can I sort this into [3,4]; [8,9,10]; [13]; in an efficient way? I.e., split the parts o...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Searching for structures in signal
I have a filtered signal were the base line is zero. I wish to search this signal for structures, i.e., find all the values in b...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Scanning signal/Storing anything other then zeros
Hi I have a filtered signal where the base line is zero that looks in principle like this: [0 0 0 -1 2 -2 0 0 0 2 1 -1 0 0 0 2...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Smoothing signals with windows
Hi, I need to write a code to smooth out my estimated power spectral density. This is what i got so far Simulating white noise ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Creating a function with varying numbers of input parameters
Hi I am writing a function to plot data for me in different ways. I would like to decide in which way to plot the data when i c...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Plot vertical lines from a point to x-axis
I would like to plot veritcal lines in the xy-plane, from a given point down to the x-axis. I have looked around, but I can fin...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Find row(s) of 3x3 matrix where the 1st and 2nd column equals a value
Hi I have a 3x3 matrix, and i would like to find the rows where the 1st and 2nd columns equals a value. M=[1 2 3 1 1 3 ...

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden