photo

Panos Kerezoudis


Last seen: 대략 1개월 전 2023년부터 활동

Followers: 0   Following: 0

Programming Languages:
MATLAB
Spoken Languages:
English

통계학

All
  • Thankful Level 3
  • Solver

배지 보기

Feeds

보기 기준

질문


Segment data into overlapping windows
Hi! I have a vector of time series data (1x300), that I would like to segment into 20 segments that are 100 ms in duration and ...

7개월 전 | 답변 수: 1 | 1

1

답변

질문


Group values in a vector
Hi, I have a long column vector ('trialnr', attached), whose elements are integer numbers from 1 to 55 (they index events in t...

대략 1년 전 | 답변 수: 1 | 0

1

답변

질문


Sort elements in cell array in descending order
Hi! I hava a cell containing three row vectors and I would like to sort each vector in descending order. Other than using a ...

대략 1년 전 | 답변 수: 1 | 0

1

답변

질문


Signal auto-correlation in matlab (xcorr function)
Hi! I am working on an EEG-electrophysiology dataset ('csd'). It is structured as a 3D array (channels x time x trials). The d...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Arrange column vetors into table
Hi! I used the findpeaks function in matlab to find local maxima ('peaks') in a vector and their indices ('locs'). I would li...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Attach first column with names to matrix with coordinates
Hi! I have a matrix ('positions') with 3 columns (x,y,z coordinates) and 200 rows (intracranial electodes). I also have a cha...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Plot legend labels using loop
I am plotting the power spectrum from 16 channels. PSD was calculated using the pwelch function and its output has 3 dimensions:...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Bar plot of categorical data
Hi! I have a small column vector (46x1). Each row has a number (0-7), where each number encodes a specific electrode location. ...

1년 초과 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

1년 초과 전

문제를 풀었습니다


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

1년 초과 전

문제를 풀었습니다


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

1년 초과 전

문제를 풀었습니다


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

1년 초과 전

문제를 풀었습니다


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

1년 초과 전

문제를 풀었습니다


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

1년 초과 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

1년 초과 전

문제를 풀었습니다


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

1년 초과 전

문제를 풀었습니다


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

1년 초과 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1년 초과 전

문제를 풀었습니다


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

1년 초과 전

질문


MATLAB Problem. How to design matrix from eigenvalues
This is a previously posted problem that I am working on but I can't find any solutions online. Here is the description: Write...

1년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Make loop more efficient
Hi! I am new to Matlab and I am currently going through coding exerices to become more skilled at it. I would appreciate any h...

1년 초과 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

1년 초과 전

문제를 풀었습니다


Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...

1년 초과 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

1년 초과 전

문제를 풀었습니다


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

1년 초과 전

문제를 풀었습니다


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

1년 초과 전

문제를 풀었습니다


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

1년 초과 전

문제를 풀었습니다


Rescale Scores
Each column (except last) of matrix X contains students' scores in a course assignment or a test. The last column has a weighted...

1년 초과 전

문제를 풀었습니다


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

1년 초과 전

문제를 풀었습니다


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

1년 초과 전

더 보기