photo

Zuha Yousuf


Last seen: oltre 4 anni fa Attivo dal 2019

Followers: 0   Following: 0

Statistica

  • First Review
  • Thankful Level 3
  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


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...

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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!

oltre 4 anni fa | 1 risposta | 0

1

risposta

Risposto
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 ...

oltre 4 anni fa | 0

Domanda


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...

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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 ...

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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,...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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),...

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 5 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


()-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...

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

oltre 5 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Risposto
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...

oltre 5 anni fa | 0

Domanda


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...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 5 anni fa | 2 risposte | 0

2

risposte