回答済み
Create a sliding window
Ten million samples is not a lot, but anyway a simple intuitive way is for k = 1 : 500000 : length(vec) % Should be 20 iteratio...

3日 前 | 0

| 採用済み

回答済み
How can you brighten certain portions of an image while keeping the other portions with their respective original brightness?
I don't know which areas/regions in your image are labeled 17, 18, and 19. Are they certain regions of the brain comprised of t...

4日 前 | 0

| 採用済み

回答済み
Alphabets glitch on matlab screen
Are you using Windows? Did you by chance happen to hit the Alt key? That will do that. But typing Alt again or clicking anywh...

4日 前 | 0

| 採用済み

回答済み
how to find the peaks between the local maxima and local minima
Try getting rid of minpeakprominence so that you find all peaks.

4日 前 | 0

| 採用済み

回答済み
How to separate waves from a signal
If you have the Image Processing Toolbox (used to find the center of the "silent" parts), try this: % Demo by Image Analyst % ...

4日 前 | 1

| 採用済み

回答済み
How to check the function call stack during the debugging process
Look at the top of your editor window. It's basically right above the source code.

5日 前 | 0

回答済み
How to skip temporary files in a folder
Try this folder1 = pwd; folder2 = fullfile(pwd, 'Copied Files'); if ~isfolder(folder2) mkdir(folder2); end ext = '.csv...

5日 前 | 0

| 採用済み

回答済み
"Invalid training data. Predictors and responses must have the same number of observations"
Instead of Xtemp=decoding_threshold*rand([1,sample_size]); for i=1:sample_size Xtrain{i}=Xtemp(i); end Xtrain=reshape(X...

5日 前 | 1

回答済み
How can I import excel file (.xlsx) in Matlab and store the 4th column in a vector?
data = readmatrix(fileName); % Read entire workbook into 2-D matrix. column4 = data(:, 4); % Extract column 4 only...

5日 前 | 0

回答済み
break x axis in matlab
Look in the File Exchange: https://www.mathworks.com/matlabcentral/fileexchange?q=break+axis

5日 前 | 0

| 採用済み

回答済み
Unable to detect 'mcc' hardware with surface 3 tablet
I use the MCC USB1024-HLS to read switch closures like this: % Load the MCC library. This takes a long time. pinNumber = 16; ...

5日 前 | 0

回答済み
Is there a way to give method/property access to all classes in a package without typing them all in manually?
I don't know what that "Access=" stuff is, but I know if you have an instance of a class or a static class you can do methods(c...

5日 前 | 0

回答済み
How to separate waves from a signal
Not hard, but you forgot to attach your data. But it would go something like this [upper, lower] = envelope(y); mask = upper ...

5日 前 | 1

回答済み
How to extract the largest area?
It looks like there is a black path separating the different regions. I think you can just binarize the image and use bwareafil...

5日 前 | 0

| 採用済み

回答済み
Export Data to Excel Error:
Maybe the workbook is still locked because the first call to writetable() has not finished 100%. If you put pause(2); % Wait 2...

5日 前 | 1

回答済み
Fixing a choppy plot
You don't have many points in t. Try using linspace and specify a larger number. t = linspace(0, 10*pi, 2000); xt = sin(t); ...

6日 前 | 0

| 採用済み

回答済み
How can i fill NaN values on unwanted region of an image?
Not sure from your image where the unwanted regions are - you didn't indicate them. If you want, and it's appropriate you could...

6日 前 | 0

回答済み
file list when "dir" to import data
It's best if you can just add leading zeros when you create the files, like baseFileName = sprintf('blah blah blah fubar-ROI%3....

6日 前 | 0

回答済み
Removing some specific bright circles in the image after knowing the location
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

6日 前 | 0

| 採用済み

回答済み
how to detect blurred images in a dataset.
Perhaps you can take the fft of the image and check if the energy in the higher frequencies is not very high.

6日 前 | 0

| 採用済み

回答済み
how to count visible lines in textArea?
I'd take a vertical profile and threshold it. You forgot to attach your picture. But if you have an image with black text on a...

6日 前 | 0

回答済み
Removing some specific bright circles in the image after knowing the location
You forgot to attach an image. You can threshold to find bright things and then erase them. Assuming a gray scale image mask ...

6日 前 | 0

回答済み
App Designer for Classification
In the learner, export the model to a .mat file. Then in your app read in the mat file and call it like the mat file tells you ...

8日 前 | 0

回答済み
Divide an image vertically into two equally luminous parts, ..., calculate the luminance of each part.., PERSONAL NON-FUNDED RESEARCH,
Here's a start. See if you can finish it: % Initialization Steps. clc; % Clear the command window. close all; % Close al...

8日 前 | 0

回答済み
How I use the creatmask function for rgb image?
Attached is an example I did for another question. Adapt it.

8日 前 | 0

| 採用済み

回答済み
how to use gscatter in app designer
Why would it be any different than for just a script? Just place an axes on your figure, then call gscatter. What's the diffic...

8日 前 | 0

回答済み
Divide training , validation and testing data.
Depends on what kind of network training you're doing. If you're using trainNetwork and labels, then you can use imageDatastore...

8日 前 | 0

回答済み
How to draw three circles with centers and radii given?
"I can't cuz there is no command for circles" <== there is if you have the Image Processing Toolbox. x1=2; y1=8; r1=10; x2=5;...

8日 前 | 0

| 採用済み

回答済み
how to put an app designer window in the center of the screen?
I have a function to center the GUI on the screen. See below. % Centers the figure on the screen. function CenterFigure(handl...

8日 前 | 0

回答済み
Semantic segmentation for grayscale image
Start here: https://www.mathworks.com/help/vision/ug/semantic-segmentation-using-deep-learning.html I'm working on a simplifie...

8日 前 | 0

もっと読み込む