Community Profile Zuha Yousuf

Last seen: más de 1 año ago Active since 2019

Statistics

• • • Content Feed

View by

Question

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

más de 1 año ago | 0 answers | 0

0

Question

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

más de 1 año ago | 0 answers | 0

0

Question

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 2 años ago | 2 answers | 0

2

Question

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 2 años ago | 1 answer | 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 ...

casi 2 años ago | 0

Question

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

casi 2 años ago | 2 answers | 0

2

Question

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

casi 2 años ago | 2 answers | 0

2

Question

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

casi 2 años ago | 2 answers | 0

2

Question

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

casi 2 años ago | 1 answer | 0

1

Question

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

casi 2 años ago | 1 answer | 0

1

Question

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

casi 2 años ago | 1 answer | 0

1

Question

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

casi 2 años ago | 2 answers | 0

2

Question

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

alrededor de 2 años ago | 1 answer | 0

1

Question

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

alrededor de 2 años ago | 0 answers | 0

0

Question

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

alrededor de 2 años ago | 1 answer | 0

1

Question

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

alrededor de 2 años ago | 1 answer | 0

1

Question

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

alrededor de 2 años ago | 1 answer | 0

1

Question

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

alrededor de 2 años ago | 1 answer | 0

1

Question

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

alrededor de 2 años ago | 1 answer | 0

1

Question

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 2 años ago | 0 answers | 0

0

Question

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 2 años ago | 1 answer | 0

1

Question

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 2 años ago | 0 answers | 0

0

Question

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 2 años ago | 1 answer | 0

1

Question

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 2 años ago | 1 answer | 0

1

Question

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 2 años ago | 0 answers | 0

0

Question

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 2 años ago | 2 answers | 0

2

Question

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 2 años ago | 1 answer | 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...

más de 2 años ago | 0

Question

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 2 años ago | 1 answer | 0
{"ft_lang_label":"__label__en","ft_lang_prob":0.8301001,"math_prob":0.58925855,"size":8351,"snap":"2022-05-2022-21","text_gpt3_token_len":2269,"char_repetition_ratio":0.1670061,"word_repetition_ratio":0.21904169,"special_character_ratio":0.26763263,"punctuation_ratio":0.11486486,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96842945,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,1,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-01-16T22:42:18Z\",\"WARC-Record-ID\":\"<urn:uuid:5da017ce-fef0-4dc7-8268-160bc6b98bc0>\",\"Content-Length\":\"112258\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:133d316f-b5d2-455b-a201-52dd226ee92d>\",\"WARC-Concurrent-To\":\"<urn:uuid:828e505a-c6cd-4ce2-b307-5889fb01c950>\",\"WARC-IP-Address\":\"104.68.243.15\",\"WARC-Target-URI\":\"https://la.mathworks.com/matlabcentral/profile/authors/13539635\",\"WARC-Payload-Digest\":\"sha1:IZMREMF4BK3CS3ZVK5LNACKECVAIVBFQ\",\"WARC-Block-Digest\":\"sha1:POKKYXWACIYSPYC4IM7P73QUZMRJARIG\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-05/CC-MAIN-2022-05_segments_1642320300244.42_warc_CC-MAIN-20220116210734-20220117000734-00254.warc.gz\"}"}