Answered
Vector Scope Simulink R2020b
Starting in R2018b the Vector Scope block has been removed. You will have to use the following blocks instead: Time Scope — Vis...

mer än 3 år ago | 1

Answered
Simscape not in r2020a
Simscape Onramp is only available starting in MATLAB R2021a. You can download the latest version of MATLAB R2021a and access the...

mer än 3 år ago | 0

Answered
Training CNN on training set with different numbers of images in the training set
You can enable ClassWeights for classificationLayer or you can also use focalLossLayer.

mer än 3 år ago | 0

| accepted

Answered
Problem with fitceco can you help me please ?
Change line 48 to: classifier = fitcecoc(trainingFeatures,trainingLabels,'Coding','onevsall','ObservationsIn','columns') Refer...

mer än 3 år ago | 0

| accepted

Answered
Saving Label output using for loop
Instead of using sprintf you can save the labels into a categorical array as follows: image_folder = cd; filenames = dir(fullf...

mer än 3 år ago | 0

| accepted

Answered
Error using errorbar>checkSingleInput (line 264) XData must be the same size as YData. I'm trying to create error bars for the following points in x an y.
As per the syntax errorbar(x,y,neg,pos), the size of x and y should be same but in the above code ChBm and ChAn have different s...

mer än 3 år ago | 0

Answered
How can i fix this error?
Even though you are creating a "auds" augmentedImageDatastore object, you are not using it to train your network. Change the lin...

mer än 3 år ago | 0

| accepted

Answered
Deep learning function for LiDAR and point cloud data.
You can refer to the following: Getting Started with Point Clouds Using Deep Learning, Lidar Labeling, Segmentation, and Detecti...

mer än 3 år ago | 0

Answered
Which MATLAB course to start as a beginner with 0 knowledge.
You can get started with the MATLAB Onramp course and also refer to the following pages Getting Started with MATLAB & Get Starte...

mer än 3 år ago | 0

Answered
How to disable dynamic menu items from axes
Refer to the documentation of Control Chart Interactivity and set the Visible property of the AxesToolbar object to 'off' ax = ...

mer än 3 år ago | 0

| accepted

Answered
How to plot confusion matrix for for multi classes
The above confusion matrix chart can only be obtained using the function plotconfusion(targets,outputs) which requires true labe...

mer än 3 år ago | 0

| accepted

Answered
Question about omphybweights function of the Phased Array System Toolbox
As you already know that omphybweights is introduced in the R2019b release, you cannot use it in R2018a version of MATLAB. You c...

mer än 3 år ago | 0

Answered
How to label on top and bottom side of the figure
You can refer to the following answer: Is it possible to plot the data and show two different scales for the same data using MAT...

mer än 3 år ago | 1

Answered
Clustering Time Series with DTW
I think the error is due the reason that dtw function operates on 2 signals only and the output is always a scalar. As per the ...

nästan 4 år ago | 1

| accepted

Answered
How to find the center of mass of each cluster
From the above information I'm assuming that data is a matrix of size 168x65. So data(:) returns a new array of size 10920x1 (al...

nästan 4 år ago | 0

| accepted

Answered
custom neural network error( About dlfeval )
The input dlX for the forward(dlnet,dlX) function should be a formatted dlarray. Refer to the documentation of forward (specific...

nästan 4 år ago | 0

| accepted

Answered
How can I add additional images to a neural network such as AlexNet ?
As per my understanding you want the the alexnet network to work on the object categories other than the 1000 object categories ...

nästan 4 år ago | 0

Answered
blkbuild command is not working
One possible cause of the error is that the Control System Toolbox is not installed. If that's the case then refer to Get and Ma...

nästan 4 år ago | 1

| accepted

Answered
Which app is the best for data predictions?
Based on the above information I think you can start with Regression Learner followed by Neural Net Fitting or Curve Fitting App...

nästan 4 år ago | 0

Answered
From hyperspectral image to rgb image
The following functions may be useful: hypercube & colorize. Refer to the documentation page of Hyperspectral Image Processing...

nästan 4 år ago | 1

| accepted

Answered
Oscillation in neural network
You can refer to the documentation of Deep Learning Tips and Tricks & resources available under Deep Learning Tuning and Visuali...

nästan 4 år ago | 0

Answered
Perimeter by adding distance
You can refer to the documentation of the functions perimeter & polyshape. pgon = polyshape([0 0 1 3], [0 3 3 0]); plot(pgon) ...

nästan 4 år ago | 0

Answered
Help!!! Why is it prompted that the subscript indices must be positive integer or logical type?
The value of n is a double whereas array indixes must be positive integers or logical type. Change the class of n to integer bef...

nästan 4 år ago | 0

| accepted

Answered
Index exceeds the number of array elements (36)
One possiblity is that you have declared a variable with the name "title" and it has 36 elements. If that's causing the error th...

nästan 4 år ago | 0

Answered
Using Variable in Legend in for loop
Refer to Add Legend to Graph for more information. You can make use of the 'DisplayName' name value pair argument as follows: ...

nästan 4 år ago | 0

Answered
Motor control toolbox license
You can check the products you are licensed to by Navigating to https://www.mathworks.com/licensecenter/licenses and Click on yo...

nästan 4 år ago | 0

Answered
Plot a 2 y axis graph
Refer to the documentation of yyaxis for more information. I was getting two Y-axes when I tried your code: x = 0:0.05:0.333333...

nästan 4 år ago | 0

| accepted

Answered
How to add new properties (layer name) in DlconvOp.m in deep network training
"Name" is already a property of the custom layer whereas you can define the "Index" property under the Optional Properties. You ...

nästan 4 år ago | 0

| accepted

Answered
set the contourslice line colors
The following syntax of s = contourslice(___) of the contourslice function returns the array of Patch objects created. You can r...

nästan 4 år ago | 0

| accepted

Answered
Exception in thread "AWT-EventQueue-0": java.lang.OutOfMemoryError: Required array size too large
The following resources may help you to get more information on the "Required array size too large" error : Resolve “Out of Memo...

nästan 4 år ago | 0

Load more