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

5년 이하 전 | 0

답변 있음
how to convert logical into charactor
Try num2str.

5년 이하 전 | 1

답변 있음
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...

5년 이하 전 | 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+...

5년 이하 전 | 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];

5년 이하 전 | 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...

5년 이하 전 | 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...

5년 이하 전 | 0

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

5년 이하 전 | 0

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

5년 이하 전 | 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

5년 이하 전 | 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...

5년 이하 전 | 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) ...

5년 이하 전 | 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...

5년 이하 전 | 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...

5년 이하 전 | 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...

5년 이하 전 | 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', ...

5년 이하 전 | 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...

5년 이하 전 | 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...

5년 이하 전 | 0

| 수락됨

답변 있음
Error using daq.Session/startBackground Too many output arguments?
startForeground takes output arguments; not startBackground.

5년 이하 전 | 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....

5년 이하 전 | 0

채널

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

5년 이하 전

답변 있음
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...

5년 이하 전 | 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...

5년 이하 전 | 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...

5년 이하 전 | 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.

5년 이상 전 | 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...

6년 이하 전 | 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...

6년 이하 전 | 0

| 수락됨

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

약 6년 전 | 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...

약 6년 전 | 0

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

약 6년 전 | 0