Answered

logical operators with while loop

At the risk of doing someones homework :P clc; clear; x = 0; % or start at x = 86^2; while true a = rem(x,13); b =...

logical operators with while loop

At the risk of doing someones homework :P clc; clear; x = 0; % or start at x = 86^2; while true a = rem(x,13); b =...

5 months ago | 1

| accepted

Answered

Summing Datenum resets after 24 hours

I don't know if the datetime functions are going to allow that triple digit hour. Here's one approach. z = sprintf('%03i:%02i:%...

Summing Datenum resets after 24 hours

I don't know if the datetime functions are going to allow that triple digit hour. Here's one approach. z = sprintf('%03i:%02i:%...

5 months ago | 0

Answered

How to input a string of integers and hex values together as an input. [9,0xa,0xb]

reshape(dec2bin(Array),1,[])

How to input a string of integers and hex values together as an input. [9,0xa,0xb]

reshape(dec2bin(Array),1,[])

5 months ago | 0

Answered

Does anyone have any experience with luminance changes in a visual display?

'Value' is, I believe, the same as 'luminance' in your case. If so, you could create images based on HSV values and change the v...

Does anyone have any experience with luminance changes in a visual display?

'Value' is, I believe, the same as 'luminance' in your case. If so, you could create images based on HSV values and change the v...

5 months ago | 0

Answered

Temperatur detecting fron a thermal images

Look at these lines of code: imageRow1 = 40; imageRow2 = 298; imageCol1 = 20; imageCol2 = 460; % Crop off the surrounding c...

Temperatur detecting fron a thermal images

Look at these lines of code: imageRow1 = 40; imageRow2 = 298; imageCol1 = 20; imageCol2 = 460; % Crop off the surrounding c...

5 months ago | 0

Answered

How to solve dimension problem

It appears stFeatureExtractionmfcc() is returning multiple values. What is in that function?

How to solve dimension problem

It appears stFeatureExtractionmfcc() is returning multiple values. What is in that function?

5 months ago | 0

Answered

Signal analysis... can't figure out how finish the program... Please help ! 2 parameters left and one small thing.

What version of MATLAB are you using? See that xlswrite() is not recommended: https://www.mathworks.com/help/matlab/ref/xlswrite...

Signal analysis... can't figure out how finish the program... Please help ! 2 parameters left and one small thing.

What version of MATLAB are you using? See that xlswrite() is not recommended: https://www.mathworks.com/help/matlab/ref/xlswrite...

5 months ago | 0

Answered

Xlabel coordinates for text command?

h = figure('position',[0 0 600 800]); x = xlabel('{\it t} [s]','FontName','times','FontSize',12); text(x.Position(1) , x.Posit...

Xlabel coordinates for text command?

h = figure('position',[0 0 600 800]); x = xlabel('{\it t} [s]','FontName','times','FontSize',12); text(x.Position(1) , x.Posit...

5 months ago | 0

Question

Practical use of Phase Delay for IIR Filter on Pure Sinusoid

I recently asked a question about Finding Dominant Frequency and Phase using FFT. My follow-up question has to do with the phase...

7 months ago | 1 answer | 0

Question

Finding Dominant Frequency and Phase using FFT

This is stemming from a forecasting problem, but my fundamental assumption about FFT appears to be incorrect. Below, I'm generat...

7 months ago | 1 answer | 0

Answered

EEG pre-processing steps

What is the goal of your overall analysis? I think the Chronux Toolbox might help you, although, if you just want to get a Fouri...

EEG pre-processing steps

What is the goal of your overall analysis? I think the Chronux Toolbox might help you, although, if you just want to get a Fouri...

2 years ago | 1

Answered

Why is my algorithm (detect corners of checker board) fail?

Do: plot(imagePoints(:,1),imagePoints(:,2),'r+');

Why is my algorithm (detect corners of checker board) fail?

Do: plot(imagePoints(:,1),imagePoints(:,2),'r+');

2 years ago | 1

| accepted

Answered

Why won't anything plot? 6 errors in 3 lines of code.

Try: open plot See if plot is a variable or if the project has redefined it.

Why won't anything plot? 6 errors in 3 lines of code.

Try: open plot See if plot is a variable or if the project has redefined it.

2 years ago | 0

Answered

How to create a colormap attributing specific colour to each element?

Given these data, I would do this. A = [ 1 2 3 4 2 2 3 1 1 1 4 2]; cmap = jet(max(A(:))); figure; imagesc(A); ...

How to create a colormap attributing specific colour to each element?

Given these data, I would do this. A = [ 1 2 3 4 2 2 3 1 1 1 4 2]; cmap = jet(max(A(:))); figure; imagesc(A); ...

2 years ago | 0

| accepted

Answered

how to detect P wave?

Download (or clone) BioSigKit. Load your ECG data into the data variable and change Fs to your sampling rate. Fs = 360; analys...

how to detect P wave?

Download (or clone) BioSigKit. Load your ECG data into the data variable and change Fs to your sampling rate. Fs = 360; analys...

2 years ago | 1

| accepted

Answered

How to run the following codes.

MATLAB uses one-based indexing. Therefore, in your code, on the first iteration where i = 1, the line marked is trying to index ...

How to run the following codes.

MATLAB uses one-based indexing. Therefore, in your code, on the first iteration where i = 1, the line marked is trying to index ...

2 years ago | 0

| accepted

Answered

Plotting peaks with different values of time on top of each other

Taylor, to simplify, I would consider two options: (1) Detect the threshold crossing (i.e., data >= 1) and plot a fixed amount ...

Plotting peaks with different values of time on top of each other

Taylor, to simplify, I would consider two options: (1) Detect the threshold crossing (i.e., data >= 1) and plot a fixed amount ...

2 years ago | 0

| accepted

Submitted

mattgaidica/RatBrainAtlasAPI

This is a RESTful way to obtain the atlas images for specific anatomical coordinates (ap,ml,dv).

4 years ago | 7 downloads |