Question

manually label data from a variable while looping through and save the labelled data in a new variable

I have some data stored in each row of a variable (example: 190x1800 i.e. 190 samples, each row is a sample). I am stepping thro...

5 months ago | 1 answer | 0

Question

calculating heart rate in bpm from ECG signal

I have attached a raw ECG data file and I am trying to calculate the HR from it. I have tried many different methods to process ...

1 year ago | 0 answers | 0

Question

Different colors within each plot of subplot

In the sample code below, Y has 64 rows and each subplot has 8 2-D line plots in it (total 8 subplots). I want each of these 8 l...

1 year ago | 1 answer | 0

Question

Find cells that start with text and combine it with next cell

I have a cell array like: {'Test1'} {'10v'} {'20va'} {'30v'} {'50v'} {'65v'} {'Test2'} ...

1 year ago | 2 answers | 0

Question

Sorting and averaging matrices

I have two matrices. One for example is A = 520 x 1 and it has numbers from 1-8 which are not in order. For every number in this...

1 year ago | 1 answer | 0

Question

Continue execution without waiting

I am calling a python file in matlab script using system(['python runCam-oneFunction.py' record_time ' ' video_name]);...

2 years ago | 0 answers | 0

Question

Writing data on a blank figure

I want to generate a blank figure/image and write a text and variable value using a for loop. For example, writing X:y where X i...

3 years ago | 2 answers | 0

Question

Create a movie from video and plots

Hi, 1. I have a plot from variable (N x 6 cells) so it has 6 values on y-axis for one value on x-axis 2. I have a video with...

3 years ago | 1 answer | 0

Question

Function to load a .mat file (which can be inside or outside matlab folder) and perform analysis for finding constant or near-zero variance values

I have a matlab data file that has only one variable of type 1x1 struct which has 1x680 cell which has 680 MxN double values (va...

3 years ago | 1 answer | 0

Question

Surface plot to CAD model

Hi. I have a 3D surface plot which i have fitted to some (x,y,z) points using 'fit' function. Result is a 1x1 Surf type. I wan...

3 years ago | 1 answer | 0

Question

How to get brushed data into a variable programmatically?

I have a 3D plot. I want to select a region from it and discard the rest x,y,z points. I want to use the brush tool to select th...

3 years ago | 1 answer | 0

Question

how can i assign different intensity to an object present in an image with dimension (N,N,3) (for example: assigning different intensity(like 10,20,100,etc) to a circle present in an image)

the image is an RGB object image

4 years ago | 1 answer | 0