Community Profile

photo

Zuha Yousuf


Last seen: casi 4 años hace Con actividad desde 2019

Estadísticas

  • First Review
  • Thankful Level 3
  • First Answer

Ver insignias

Content Feed

Ver por

Pregunta


Large .mat file (1x1 struct) showing as empty in workspace although it isn't
So I have a .mat file, and I don't see any variables present in the struct. I am at a loss to understand why this is, especially...

casi 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Error using mex (file not in current directory although it is)
So I'm trying to run the mexgpul.all in the CUDA folder, but I'm getting the following error. I am confused since all my files a...

casi 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Applying function on few elements each time, using a for loop
So lets say I have an array, which has 540000 values. I want to apply a max function over this array, but only over 30000 values...

casi 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to find the percentage accuracy of LDA classifier?
Hi, I'm looking for any code or function that will help me calculate the percentage accuracy of my LDA classifier. Thanks!

casi 4 años hace | 1 respuesta | 0

1

respuesta

Respondida
Using delay seq to shift data with different delay conditions
Basically, something like this. The first column after the one not being delayed should always have one 0, the next always have ...

alrededor de 4 años hace | 0

Pregunta


Using delay seq to shift data with different delay conditions
Hi! I have a matrix that has 10 columns and 50 rows. I want to introduce a delay in columns 2,3 and 4, and then again in columns...

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to apply function on columns while skipping certain columns
So I have a matrix that has 31413 rows and 950 columns. I want to apply a function starting from column 2 till column 10, skippi...

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to use tril function on only specific columns in a large matrix?
So I have a very large matrix (31413 rows, 950 columns). I want to use the tril function on columns 2 till 10, and then from 12 ...

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to insert copies of columns inside matrix with a specific condition?
So I have a matrix, lets call it A. A has 10 rows and 25 columns. I want to create 10 copies of each column, and insert those co...

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How can I add variable amount of padding to each column in my matrix?
So suppose I have a matrix, which has 4 columns and 10 rows. (10 by 4). I want to introduce 1 zero at the beginning in column 1,...

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Finding indices of first maximum value and last minimum value of a square wave
So I have a square wave (shown in the plot below, as lots of tiny square waves that aren't really visible because of the scale),...

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use a for loop to iterate through all columns in a row, and then go down each row and iterate through all the corresponding columns in the same way?
Hi, so I have a vector called Currents (size is 531 by 758), and a vector called r (size is 531 by 1). My equation is V=Currents...

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to use findpeaks to only find specific peaks and time where they occurred?
I'm attaching a plot of voltage versus time for a signal that I averaged over time. I want to use the findpeaks function to excl...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to find the time elapsed until a peak, and automate the amplitude and width finding process of that peak?
I'm attaching a figure of the two signals I have. I just want to look at the peaks within the first 20 miliseconds for each of t...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to find the time it takes till the first upward deflection of square wave pulse?
So suppose I have a square wave pulse. I want to find the time it takes to reach the very first upward deflection of that square...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


()-indexing must appear last in an index expression.
Can anybody tell me why I'm getting this error? Code attached below: I'm getting the error at the second last line. Anyone plea...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Code for looping through a folder and sub-folders within that folder to get .csv files and move them to the main path
So I have a main folder on the desktop called 'Jasper_190319'. Within this folder there are 5 sub-folders, called: 'Jasper_1...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How do I get the value at a particular index?
So I have indices corresponding to values that I want. Is there a MATLAB function that would allow me to output the values when ...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use findpeaks function to give me the peak maxima within a particular length of time? How to find slopes of peaks?
I have a plot of data (voltage on y axis, time in miliseconds on x axis). I want to look at the positive peaks on my data within...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Error using shadedErrorBar : length(x) must equal length(errBar)
So I've been trying to use shadedErrorBar for displaying the error bars for three lines of data that I have. I'm having a little...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to use interp1 to stretch out smaller vector to the size of larger vector?
So I have two vectors, lets call them A and B. A is the smaller vector, and has 1260 columns. B is the larger vector and has 177...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use interp1 to stretch out smaller vector to size of larger vector?
So I have two vectors. The first vector has 1260 columns, and the second has 1778 columns. I want to take an average of these tw...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to normalize size of smaller arrays to match bigger array for analysis, and remove NaNs?
So I have an excel file (attached) that has different trials, all having different column sizes. I want to plot the average of t...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to magnify y-axis to see plot more clearly
So I am averaging some signals over time, and plotting it to get the figure I've attached. I want to stretch the y-axis in such...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Error: Unable to concatenate the table variables 'Animal' and 'Date', because their types are cell and datetime.
I an trying to normalize a data set of values that I have. I am importing an .xlsx file into MATLAB which contains that data set...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Error: Index in position 2 exceeds array bounds
I'm trying to import an xlsx file into MATLAB and make a simple graph of heart rate vs time. The time vector is from row 386 til...

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How do I take data from one column of an Excel spreadsheet and store it as a transposed row in a new Excel Spreadsheet? How do I repeatedly take this column data from different Excel spreadsheets to be transposed as rows in the new Excel Spreadsheet?
So I have a lot of .xlsx files (I have attached one here). I need to take the data from column 7 (Heart Rate), from a specific n...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Respondida
Why do I receive an empty array when I read a CSV file with XLSREAD in MATLAB 7.10 (R2010a)?
Maybe try looking at your .csv file and checking whether the values are stored in the form of a string or numerically (the value...

más de 4 años hace | 0

Pregunta


I am using R2018b. Why does my graph appear so pixelated?
Both the x and y vectors are 1341*1 double. My code is given below: [~,NumDataS]=xlsread('Oxygen_5.14.19_Dex_vitals_001.xlsx...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Error: Index in position 1 exceeds array bounds.
I'm trying to import an xlsx file into MATLAB and make a simple graph of heart rate vs time. The time vector is from row 607 til...

más de 4 años hace | 2 respuestas | 0

2

respuestas