已回答
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 前 | 0

已回答
how to convert logical into charactor
Try num2str.

6 years 前 | 2

已回答
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 前 | 0

已回答
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 前 | 2

| 已接受

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

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

6 years 前 | 0

已回答
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 前 | 0

| 已接受

已回答
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 前 | 2

| 已接受

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 0

| 已接受

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

6 years 前 | 0

已回答
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 前 | 0

已回答
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...

6 years 前 | 1

已回答
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...

6 years 前 | 0

| 已接受

已回答
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...

6 years 前 | 0

已回答
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 前 | 1

已回答
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...

7 years 前 | 1

| 已接受

已回答
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...

7 years 前 | 0

| 已接受

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

7 years 前 | 0

已回答
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...

7 years 前 | 0

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

7 years 前 | 0

已回答
How do we calculate Euclidean Distance Matrix in Matlab ?
You probably want pdist: <https://fr.mathworks.com/help/stats/pdist.html>

7 years 前 | 0

| 已接受

加载更多