Question

how to skip spinner values based on variable/button ?

I have a spinner associated to a button I would like this button to be inactive for spinner values "during" which I pressed ano...

meer dan 3 jaar ago | 0 answers | 0

Question

how to update progress gauge based on analyze progress in App designer GUI ?

I am trying to use a gui to go through some data and analyze segments of them. I am able to select different segments using a s...

meer dan 3 jaar ago | 1 answer | 0

Question

how can I set spinner limit range based on text box entry ?

I have a gui with a spinner in it I would like to input a value in a text box and use it as upper limit for the spinner can't ...

meer dan 3 jaar ago | 1 answer | 0

Answered

How to read spectrogram outputs and pick out interesting time-window?

the spectrogram can be handled as a surf plot if f is the freq you get out of the spectrogram fs is the freq range of you segme...

How to read spectrogram outputs and pick out interesting time-window?

the spectrogram can be handled as a surf plot if f is the freq you get out of the spectrogram fs is the freq range of you segme...

meer dan 3 jaar ago | 0

Question

pulse train generator - wrong freq output

I am trying to get 50 Hz digital output from a USB-6211 using the code below. The TTL is supposed to activate a device which is ...

meer dan 3 jaar ago | 0 answers | 0

Question

Interpolate 2D matrix of x,y coordinates

I am trying to estimate the missing points of a matrix of 2D coordinates obtained from the video of a moving object. the coordi...

bijna 4 jaar ago | 1 answer | 0

Question

how to generate a pulse train of known frequency and visualize/count the pulses (NI USB 6211 DAQ)

Hi everyone I am having trouble with some code to start a pulse generation from a device (NI USB-6211 DAQ) while counting it. ...

bijna 4 jaar ago | 0 answers | 0

Question

ribbon plot with different variable arrays

I have some troubles plotting a data set using the ribbon plot function. My data are organized in 3 arrays: X=1621x10 double...

bijna 4 jaar ago | 0 answers | 0

Question

Scatterhist without normalized y axes on the marginal histograms. How ?

I am trying to plot some data using the scatterhist function. The plotting works perfectly if not for one thing: when plotting ...

bijna 4 jaar ago | 1 answer | 0

Answered

slicing a volume in desired direction

I am not sure what you want to achieve perhaps you could use the find function to determine vertices ranges, select them, and u...

slicing a volume in desired direction

I am not sure what you want to achieve perhaps you could use the find function to determine vertices ranges, select them, and u...

meer dan 4 jaar ago | 1

Answered

timer function is not executing the function i am providing ,please help me with this?

ritik does not seem to be a matlab function, could you post your code ?

timer function is not executing the function i am providing ,please help me with this?

ritik does not seem to be a matlab function, could you post your code ?

meer dan 4 jaar ago | 0

Answered

Findpeaks loop value not saving separately

not sure what you want to do but I try to guess. you can use the function "diff" between elements of different matrices (for co...

Findpeaks loop value not saving separately

not sure what you want to do but I try to guess. you can use the function "diff" between elements of different matrices (for co...

meer dan 4 jaar ago | 0

| accepted

Answered

How to pull edit box string from uicontrol

as an alternative, instead of using an external function you could type edittest = uicontrol('Style', 'edit', 'Position', [2...

How to pull edit box string from uicontrol

as an alternative, instead of using an external function you could type edittest = uicontrol('Style', 'edit', 'Position', [2...

meer dan 4 jaar ago | 0

Question

how to get value of uicontrol edit text without calling a function ?

I am trying to edit some data in real time by using a uicontrol edit box. the box prompt me each value taken from an array (wid...

meer dan 4 jaar ago | 0 answers | 0

Question

how can I do PCA on a table ?

I have a 3000 x 18 table containing 18 variables (one per column) of both numerical and categorical type (6 categorical). I wou...

meer dan 4 jaar ago | 1 answer | 0

Question

matrix with mixed data ?

I have some variables of mixed type (categorical and numerical) I would like to build a table or cell array (or a matrix in gen...

meer dan 4 jaar ago | 1 answer | 0

Answered

is there a way to obtain peak width after peak detection ?

I know that, thanks. what I wanted to know is whether one could get those values without doing the peak detection again but I ...

is there a way to obtain peak width after peak detection ?

I know that, thanks. what I wanted to know is whether one could get those values without doing the peak detection again but I ...

bijna 5 jaar ago | 0

Question

is there a way to obtain peak width after peak detection ?

I have used the function findpeaks to detect spikes in a signal however I have initially used the halfprominence as width-refer...

bijna 5 jaar ago | 3 answers | 0

Question

measure time from fft spectrogram

trying to convert the time scale of a signal visualized on a spectrogram in sec/msec. the spectrogram has been calculated using...

bijna 5 jaar ago | 1 answer | 0

Question

medfreq with delta-F threshold ?

I am using the medfreq function to extract fast freq changes (few ms) in a sinewave signal. The function seems to work pretty we...

bijna 5 jaar ago | 1 answer | 0

Question

how to set RBW while using medfreq ?

Is there a mathematical/precise way to calculate an optimal rbw (resolution bandwidth) while using the command medfreq to calcul...

bijna 5 jaar ago | 0 answers | 0

Question

simple formula to remove rows with repeated values in N x 2 matrix

I have a set of XY coordinates in a N x 2 matrix I would like to remove those pairs in which X values are the same I do not w...

bijna 5 jaar ago | 1 answer | 0

Question

measure event duration in spectrogram

How could one measure the duration of an event in seconds based on spectrogram data and related parameters (nfft, overlap, Fs) ?...

bijna 5 jaar ago | 0 answers | 0

Question

how to import gstreamer input in matlab

I am trying to stream a video over TCP in matlab. I have a raspberry pi streaming a video using Gstreamer (ver 1.0) and a laptop...

bijna 5 jaar ago | 0 answers | 0

Answered

Gstreamer 1.0 error for Matlab 2018b

Hi Prospero I am trying to import a video stream from gstreamer in matlab. Could you share the code on how to do that ?

Gstreamer 1.0 error for Matlab 2018b

Hi Prospero I am trying to import a video stream from gstreamer in matlab. Could you share the code on how to do that ?

bijna 5 jaar ago | 0

Question

chirp generation in for loop

Perhaps someone could help. I would like to generate a sinewave function with frequency modulations at given time points (timest...

ongeveer 5 jaar ago | 0 answers | 0

Question

How can I loop fread through the same data file multiple times ?

I have a large binary related to 1 hour recording from 16 electrodes (each of them part of a "pair"). The binary data has in the...

meer dan 5 jaar ago | 0 answers | 0

Question

extract bands from spectrogram to measure frequency excursions

I would like to measure the length of frequency excursions from spectrogram chirp data. here is my spectrogram. [spec,f...

meer dan 5 jaar ago | 0 answers | 1

Question

How to bin xcorr data ? (averaging time series of binary data into larger bins for cross-correlation analysis)

Hi, I have two arrays (time series) - z1 and z2 - related to recordings from 2 different channels. Their size is 1x59898. I am u...

meer dan 5 jaar ago | 0 answers | 0

Question

How to loop fopen/fread/fseek to analyze large binary files in shorter segments ?

I have a large bin file (10Gb) which contains binary data from 16 channels in a single array, plus one value for the time variab...

meer dan 5 jaar ago | 1 answer | 0