Question

can't install NI-DAQmx toolbox on MATLAB 2020b

Just got a fresh new installation of MATLAB 2020b with server license on campus. I am trying to install the Data Acquisition To...

etwa 2 Monate ago | 1 answer | 0

Answered

How can i make vector lengths the same?

To solve a similar issue I use imresize First get the size of the image (with the function "size"), then resize image 2 accor...

How can i make vector lengths the same?

To solve a similar issue I use imresize First get the size of the image (with the function "size"), then resize image 2 accor...

etwa 2 Monate ago | 0

| accepted

Question

can I have independent analog output and digital counter output in the same session ?

Hi everyone I have a setup with both recording and stimulating electrodes. I would like to record the effects of a certain stim...

etwa 2 Monate ago | 0 answers | 0

Answered

How to get pixel index / x,y coordinates of bright regions?

binarize the image, use regionprops, get the PixelList properties and use bwconncomp to identfy separate objects in the selecte...

How to get pixel index / x,y coordinates of bright regions?

binarize the image, use regionprops, get the PixelList properties and use bwconncomp to identfy separate objects in the selecte...

2 Monate ago | 0

Question

How to match pixel locations to blob identity with region props

I am using regionprops to identify blobs in a binary image. I am able to detect a couple of blobs, get their centroids and all t...

2 Monate ago | 1 answer | 0

Question

how can I trace a ROI with fixed size on multiple images ?

I am trying to register images from a stack. they are frames taken from a video in which an object is moving. I tried to use the...

5 Monate ago | 0 answers | 0

Answered

How do you send a digital signal as an output to NI DAQ system?

See the properties of your daq by typing its device name in command line. See how the channels are called and which types you ha...

How do you send a digital signal as an output to NI DAQ system?

See the properties of your daq by typing its device name in command line. See how the channels are called and which types you ha...

6 Monate ago | 0

Answered

Matlab crashes every time I copy a (even small) number of blocks to my Simulink model

Are you running Matlab with admin rights? I experienced similar issues when I wasn't. See if it works.

Matlab crashes every time I copy a (even small) number of blocks to my Simulink model

Are you running Matlab with admin rights? I experienced similar issues when I wasn't. See if it works.

6 Monate ago | 0

Answered

Using APP designer to communicate with the GIGE camera

You can combine VideoReader function with image binarization and extract "blobs" of a desired frame at a time. From the blobs Ma...

Using APP designer to communicate with the GIGE camera

You can combine VideoReader function with image binarization and extract "blobs" of a desired frame at a time. From the blobs Ma...

6 Monate ago | 0

Answered

How to swap between X, Y and Z in 3D plot

the function permute rearranges the order of the axes. S = permute(S,[1 2 3]); S1 = S = permute(S,[3 1 2]); % swapped matrix

How to swap between X, Y and Z in 3D plot

the function permute rearranges the order of the axes. S = permute(S,[1 2 3]); S1 = S = permute(S,[3 1 2]); % swapped matrix

6 Monate ago | 0

Answered

how do you count points on a graph

use getpts https://de.mathworks.com/help/images/ref/getpts.html

how do you count points on a graph

use getpts https://de.mathworks.com/help/images/ref/getpts.html

6 Monate ago | 0

Answered

Power Spectra estimation after FFT

try this example: sampling_freq = 5000 window = 8192, noverlap = 4096, nfft = 8192, [p,f] = pwelch(your_signal, 8192,409...

Power Spectra estimation after FFT

try this example: sampling_freq = 5000 window = 8192, noverlap = 4096, nfft = 8192, [p,f] = pwelch(your_signal, 8192,409...

6 Monate ago | 0

| accepted

Question

error in matlab arithmetic operations ?

I am puzzled by the result of this operation in matlab: I have a var that equals 3 I am trying to calculate (var-1)*60 instea...

7 Monate ago | 1 answer | 0

Question

add row to table in app designer - works ... but not completely

I am trying to add rows to a table by clicking a button in a GUI the code is as follows: the table is first initialized through...

7 Monate ago | 1 answer | 0

Question

how to add a single element to a table in app designer ?

this line adds one element to the first cell of the table (if the content is numeric) app.UITable.Data = [app.UITable.Data(:);a...

7 Monate ago | 1 answer | 0

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

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

7 Monate ago | 0 answers | 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 ...

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

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

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

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

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

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

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

mehr als ein Jahr 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 ?

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr ago | 1 answer | 0