Selecting multiple data ranges
Do you need A1 and A2? A3 = repmat(1:100,12,1) + transpose(repmat(0:11,100,1)); or A3 = bsxfun(@plus,0:11,transpose(1:100));...

12 months ago | 0

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

12 months ago | 1

| accepted

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

12 months ago | 0

How to input a string of integers and hex values together as an input. [9,0xa,0xb]
reshape(dec2bin(Array),1,[])

12 months ago | 0

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

12 months ago | 0

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

12 months ago | 0

How to solve dimension problem
It appears stFeatureExtractionmfcc() is returning multiple values. What is in that function?

12 months ago | 0

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

12 months ago | 0

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

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

Why is my algorithm (detect corners of checker board) fail?
Do: plot(imagePoints(:,1),imagePoints(:,2),'r+');

3 years ago | 1

| accepted

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.

3 years ago | 0

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

3 years ago | 0

| accepted

how to detect P wave?

3 years ago | 1

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

Submitted

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