![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/15435475_1557163637300_DEF.jpg)
Anas Khan
Followers: 0 Following: 0
Statistics
RANK
32,729
of 293,540
REPUTATION
1
CONTRIBUTIONS
18 Questions
1 Answer
ANSWER ACCEPTANCE
88.89%
VOTES RECEIVED
1
RANK
of 20,042
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 148,733
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Exporting Figure as Vector Content File
I am on 2021b version trying to use the exportgraphics function to export my figure to a .eps vector graphics file for figure co...
1 year ago | 1 answer | 1
1
answerQuestion
Plot data above current axis
I have a pseudocolor (contourf) plot that I want to add to in the margins around the plot. How do I place the plot the new data ...
1 year ago | 1 answer | 0
1
answerQuestion
How to create time windows given start and stop indices
I have 2 vectors of indices: 1 for start times and 1 for end times: >> size(trainStarts) ans = 20 1 >> size(...
2 years ago | 2 answers | 0
2
answersQuestion
Error using patch not enough input arguments
I created 2 custom colors >> myGreen myGreen = 0.0863 0.7294 0.7294 >> myOrange myOrange = 0.9216 ...
2 years ago | 2 answers | 0
2
answersQuestion
The PARFOR loop cannot run due to the way the variable is used
I do not believe there is a way to further vectorize this code. Please let me know if that is untrue. I would like to paralleliz...
2 years ago | 1 answer | 0
1
answerQuestion
Load and Save using PARFOR Loops
I am using PARFOR loops on a cluster like so: files = dir('*.mat'); % Get list of data files to load subjectIDs = cell(1,len...
2 years ago | 1 answer | 0
1
answerQuestion
Most Efficient Way to Smooth Wavelet Spectral Matrix over Time and Frequency
I want to smooth a 4 dimensional matrix (channel i x channel j x frequency x time) containing wavelet coefficients across time a...
2 years ago | 1 answer | 0
1
answerQuestion
Contourf plot Yscale log2 vs log10
I have frequencies ranging from 2-194 in a base-2 logarithmic spacing (10 voices per octave) like this: frex = 2.^([10:76]/10...
2 years ago | 1 answer | 0
1
answerQuestion
Compute A Moving Average on a Live Streamed Signal
I am live streaming an EMG signal from the OpenBCI_GUI (using the Ganglion board) to MatLab using LabStreamingLayer. The basic c...
2 years ago | 1 answer | 0
1
answerQuestion
What determines computation speed in MatLab?
For example, running the cwt function on a large matrix takes my computer >12 mins and once it even crashed. I know RAM determin...
3 years ago | 1 answer | 0
1
answerQuestion
How do I randomly extract 20 segments of data from a signal?
I have a matrix of data 60001x4. Rows are data points, columns are the 4 channels recording the data. How would I extract 20 ran...
3 years ago | 2 answers | 0
2
answersQuestion
How can I condense this block of code?
CONTEXT: I have EEG data in a matrix. I have parsed through the data and separated it into several cell arrays of smaller matric...
3 years ago | 1 answer | 0
1
answerQuestion
Loop Through Files to Import
I have data stored in files as seen in the screenshot attached. I want to create a script that will automatically access each fi...
3 years ago | 1 answer | 0
1
answerHow to detect positions in a signal where the distance between two values is less than x?
Thanks guys, I'll put some work into it to see if I can extract my parameters using either of your approaches.
3 years ago | 0
Question
How to detect positions in a signal where the distance between two values is less than x?
I have a cell array with 864 boolean vectors containing information about when a response was detected. Each vector has 3750000 ...
3 years ago | 2 answers | 0
2
answersQuestion
Create a String Array
I am trying to create a string array of elements ranging from A1 to H12, where the first 12 elements are A1 - H1, next 12 are A2...
3 years ago | 1 answer | 0
1
answerQuestion
Loop to Organize Matrices
I want to split up a large matrix (Vdata) with 768 columns of data into 12 matrices, each with 64 columns of data. I could do th...
4 years ago | 1 answer | 0
1
answerQuestion
Loading .RAW data into Matlab
I want to load a ~6 GB .raw file that contains text information describing my data and numerical information about voltage recor...
4 years ago | 1 answer | 0
1
answerQuestion
Importing large .raw file
I am attempting to import a large (>6 GB) .raw file containing time series data from neurons. The goal of my script is to store ...
4 years ago | 1 answer | 0