![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13539635_1536799280423_DEF.jpg)
Zuha Yousuf
Followers: 0 Following: 0
Feeds
提问
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...
4 years 前 | 0 个回答 | 0
0
个回答提问
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...
4 years 前 | 0 个回答 | 0
0
个回答提问
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...
4 years 前 | 2 个回答 | 0
2
个回答提问
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!
4 years 前 | 1 个回答 | 0
1
个回答已回答
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 ...
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 ...
4 years 前 | 0
提问
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...
4 years 前 | 2 个回答 | 0
2
个回答提问
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...
4 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
4 years 前 | 2 个回答 | 0
2
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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,...
4 years 前 | 1 个回答 | 0
1
个回答提问
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),...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 2 个回答 | 0
2
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 0 个回答 | 0
0
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
()-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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 0 个回答 | 0
0
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 0 个回答 | 0
0
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 0 个回答 | 0
0
个回答提问
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...
5 years 前 | 2 个回答 | 0
2
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
5 years 前 | 0
提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 2 个回答 | 0