Answered
Training plot taking very long to run
yes,sir,if got gpu device,may be use gpu to run train

4 years ago | 0

Answered
Trying to get prediction scatter plot
clc; clear all; close all; %Import/Upload data load generated_data.mat % change to label vector CS = categories(categorical(...

4 years ago | 0

| accepted

Answered
How I can convert a binary number into Matrix
yes,sir,if the data is logical type,may be use the follow process,or use Stephen method to reshape a = logical([1 0 0 1 1 0 1 0...

4 years ago | 0

| accepted

Answered
PIXEL VALUE NORMALIZATION 0 and 1
yes,sir,may be the image file save be Photoshop get rgb format,so we read it to logical,such as 0 and 1 value may be use im2ui...

4 years ago | 0

Answered
image processing-counting the number of objects based on their color
yes,sir,the base color should be consider,such as clc; close all; clear all %% Read in image I = imread('https://www.mathwor...

4 years ago | 1

Answered
Smooth, Blur and greyscale filter using a slider
yes,sir,may be write some code in SliderValueChanged function,such as % Callbacks that handle component events methods...

4 years ago | 0

| accepted

Answered
Images must contain fewer than 2^32 - 1 bytes of data
yes,sir,may be use TIFF object,such as t = Tiff('myfile.tif','w'); write(t,your_image_data); close(t);

4 years ago | 1

| accepted

Answered
Preserve the label information when extracing boundaries from label matrix
clc; clear all; close all; A = imread('kobi.png'); L = superpixels(A,100); % label id inds = sort(unique(L(:))); % for ever...

4 years ago | 0

Answered
mean filter special matrix apply to image. Salt and pepper noise
clc; clear all; close all; mean4=[0,1,0;1,1,1;0,1,0]; % i would like to apply with noise image this method.here is my code; o...

4 years ago | 0

Answered
how can I use sublot in this code, I want to show the three images in one figuare
clc; clear all; close all; % read image Iimage1 = imread('businessCard.png'); % get ocr result ocrResults = ocr(Iimage1); %...

4 years ago | 0

Answered
I have a code I need to rewrite it with explanations step by step, I don't understand some of the steps
clc; clear all; close all; % read image Iimage1 = imread('businessCard.png'); % get ocr result ocrResults = ocr(Iimage1); f...

4 years ago | 0

Answered
I cannot deploy my matlab code into Raspberry pi 4.
yes,sir,may be setup Mathworks Raspbian image and connect MATLAB+Device

4 years ago | 1

Answered
Zoom in using mouse scroll during uiwait sometimes fails
may be the mouse zoom is default %% main.m close all; clc; clear all; img = imread('pout.tif'); hfig=figure('Units','normali...

4 years ago | 0

| accepted

Answered
detect 3 letters 'a' 'v' 'b' .
yes,sir,just use simple fft process,we can make one example,use for detect a in first image. of couse,use ocr、cnn and some cl...

4 years ago | 0

Answered
Trying to get 80% and greater accuracy from network. Can someone help in editing my code to reach to 80% or close too?
yes,sir,may be use clc; clear all; close all; load generated_data.mat % 2289*180 % 6 classes rand('seed', 0) X1_T = X1'; ...

4 years ago | 0

| accepted

Answered
Finding coordinates of a point in a frequency wavenumber spectrum
yes,sir,may be this figure plot by surf or imagesc,and use colormap hot,so consider use the location index to find the point vla...

4 years ago | 0

Answered
Error using layerGraph (line 48) The value of 'Layers' is invalid. Layers must be an array of layers.
yes,sir,may be change the net definition,such as %Load pre-trained network net = resnet50; %analyzeNetwork(net) %net = resne...

4 years ago | 1

| accepted

Answered
how can i draw the 3D irregular Graphics on Matlab?
yes,sir,may be use mesh file to process,if possible,may be upload some mesh file such as

4 years ago | 0

Answered
Identify the individual sides (or boundary) of the binary image.
clc; clear all; close all; img = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/835530/image.jpeg'); b...

4 years ago | 0

Answered
Trying to get validation and test accuracy on plot
yes,sir 'TestData',{XTest,test_Y1} can not configure in trainingOptions

4 years ago | 0

| accepted

Answered
Attempting to correctly code the validation and testing data into network
clc; clear all; close all; load generated_data.mat % 2289*180 % 6 classes X1_T = X1'; X2_T = X2'; rand('seed', 0) ind = r...

4 years ago | 0

Answered
NEED HELP!!, How write a confusion matrix for 3 classes?
yes,sir,may be use categorical to get vector to confuse,such as clc; clear all; close all; % for 3 classes YTest = randi(3,[...

4 years ago | 0

Answered
Correctly getting validation and testing for network
yes,sir,may be shuffer the data,then split it to train、val、test,such as clc; clear all; close all; %Import/Upload data load g...

4 years ago | 0

Answered
Error using trainNetwork (line 184) Invalid training data. For regression tasks, responses must be a vector, a matrix, or a 4-D array of numeric responses. Responses must not
yes,sir,may be use label change to generate double Y,and train as regress application,such as clc; clear all; close all; %Impo...

4 years ago | 1

Answered
Error using nnet.cnn.LayerGraph>iValidateLayerName (line 654) Layer 'ClassificationLayer_predictions' does not exist. Error in nnet.cnn.LayerGraph/replaceLayer (line 397)
may be use lgraph = replaceLayer(lgraph,'ClassificationLayer_fc1000',newClassLayer);

4 years ago | 1

| accepted

Answered
How can I detect a triangle in my image?
yes,sir,may be use the Circularity,such as clc; clear all; close all; img = imread('https://www.mathworks.com/matlabcentral/an...

4 years ago | 0

Answered
matlab code for image segmentation in HSL
yes,sir,may be use clc; clear all; close all; img = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/834...

4 years ago | 0

| accepted

Answered
How can I convert the shape of one class to another using Matlab?
yes,sir,is the target to make inner gray inclose to outer white? so,may be use the optimal method,such as clc; clear all; clos...

4 years ago | 0

| accepted

Answered
Formula for calculating validation accuracy while training CNN
yes,sir,use the finally model,and the val data to compute,you can get the target acc in traininfo,it is the loop stats value,no...

4 years ago | 0

Answered
DataStore, change labels in R2020a
yes,sir,may be use subset and string contract to generate,such as imds = imageDatastore(fullfile(matlabroot,'toolbox','matlab'...

4 years ago | 2

Load more