Answered
EEGlab not filtering data
Unfortunately, a common workflow in the analysis of EEG data involves visual inspection and manual rejection of artifacts. Autom...

6 years ago | 0

Answered
how to convert logical into charactor
Try num2str.

6 years ago | 2

Answered
why is my semilogy not showing anything
It does plot something; you can check this if you provide a marker and exaggerate its size: semilogy(f, Zin_real, 'ko', 'Ma...

6 years ago | 0

Answered
How do you get variables to open in Editor?
On the upper right-hand side of the Variables editor (on Windows), click the small arrow and click: Dock Variables. Or Ctrl+Maj+...

6 years ago | 2

| accepted

Answered
For loop store variable with different dimension
A cell should work fine: C = cell(2,1); C{1} = [1 2 3]; C{2} = [1 2 3 4];

6 years ago | 0

| accepted

Answered
How to seperate weekdays and weekends from an hourly data?
Here's what I do (byHourTable is a timetable object with a column called Timestamps): %get day names [~, dayNames] = wee...

6 years ago | 0

Answered
How to measure the length of the particular region?
It depends on your goal. If you want the number of pixels, the size of your image in the workspace (with the size function) shou...

6 years ago | 0

Answered
Use Matlab program without the software of Matlab
Yes, you can compile a standalone application if you have Matlab compiler. See the documentation.

6 years ago | 0

Answered
Rearranging values in a matrix
Suppose your initial matrix is called oldMat: reshape(oldMat', [5, 4])'

6 years ago | 0

Answered
How can i add the two numbers specified in field A and B if num.A=2 and num.B=4
It's not different from two seperate numeric variables: num.C = num.A + num.B

6 years ago | 0

| accepted

Answered
storing values from a for loop
Is this what you had in mind?: myValues = -2:0.5:2; myX = zeros(length(myValues),1); for i = 1:length(myValues) my...

6 years ago | 2

| accepted

Answered
How to save all runs in the while loop
Try this: allScores = zeros(99,1); n = 1; score = 0; while n < 100 x = randi(2); if (x == 1) ...

6 years ago | 0

| accepted

Answered
delete row from cell array under specific conditions
Here's a quick made up example (if you can convert your cell to a table with cell2table); of course, it would have been easier i...

6 years ago | 0

Answered
Not displaying a 3 element vector as a result of my function? Any advice?
Just concatenate your 3 output variables a the end of the function: out = [x y z]; and change the first line to: function out...

6 years ago | 0

| accepted

Answered
How can I add elements to pre-allocated array?
Try this: Data = zeros(100,1); i = 1; while i < length(Data) var1 = randperm(10); currentIdx = (0:9)+i...

6 years ago | 0

Answered
How can I plot the mean and standar deviation of two variables?
You could start like this: meanVal = [.6, .6]; sdVal = [.4, 0.4]; errorbar(meanVal, sdVal, 'o'); set(gca, 'XLim', ...

6 years ago | 0

| accepted

Answered
How to find minimal distance between elements?
This will get you started: dumVect = [1 3 5 30]'; [minVal, idxMin] = min(diff(dumVect)) If you work with more dimensi...

6 years ago | 0

Answered
rotate and set alignment of image with respect to another image
Maybe this is what you are after: <https://fr.mathworks.com/help/releases/R2017b/images/example-performing-image-registration.h...

6 years ago | 0

| accepted

Answered
Error using daq.Session/startBackground Too many output arguments?
startForeground takes output arguments; not startBackground.

6 years ago | 0

Answered
Using the compiler on 64 bit win10 can I generate a unix executable?
Cross-compilation is not possible: you need to compile your app on a computer running exactly the same OS as the target machine....

6 years ago | 0

Channel


labMonitor
Says which computers are used in our lab, if sb is running an experiment, detects motion, gets temperature and humidity

7 years ago

Answered
How do I call a saved file in Raspberry pi into my simulink stand alone code running in the Raspberry pi?
I use the To File block to save the output of my standalone model running on my RPi 3, and it works seamlessly. To open a .mat f...

7 years ago | 1

Answered
How to stop a simulink model on a standalone raspberry pi?
In a terminal window, type top to see the running processes and look at the PID column for the number corresponding to your stan...

7 years ago | 0

| accepted

Answered
Comparison waves of EEG
If I understand your question correctly, you might want to have a look at the function alignsignals and finddelay from the Signa...

7 years ago | 0

Answered
Automatically Refresh a plot in GUIDE
axes(h), where h is the handle for the axes you want, before the plot command, should do the trick.

7 years ago | 1

Answered
pearson and Spearman correlation and the corresponding 95% and 99% confidence level in Matlab
Use de corrcoef function. In your case, it would be: [R,P,RLO,RUP]= corrcoef(a, b, 'alpha', 0.05) Where RLO and RUP give...

8 years ago | 1

| accepted

Answered
how to extract the feature of eeg signals using matlab?
The easiest way to start would probably be to use EEGLAB, which is a freely available toolbox for EEG analysis: <https://sccn.uc...

8 years ago | 0

| accepted

Answered
Merge two vectors into matrix
Something like this? vector1 = rand(1024,1); vector2 = rand(1, 1024); newVector = [vector1 vector2'];

8 years ago | 0

Answered
how to check if my data has unit scale(mean=0,variance =1)
I may be missing something, but it sounds like your answer is contained within your question. If you want to check that your fe...

8 years ago | 0

Answered
What version of Matlab has the "polyfix" function?
Polyfix is a user-contributed function available from the File Exchange.

8 years ago | 0

Load more