Answered

find peaks of excel graph

I recommend using the Find Local Extrema live task in a live script. It is an interactive way to determine the appropriate setti...

find peaks of excel graph

I recommend using the Find Local Extrema live task in a live script. It is an interactive way to determine the appropriate setti...

2 months ago | 0

Answered

Training with trainNetwork failed. The value of 'ValidationData' is invalid. The datastore used for 'ValidationData' must return a table or cell array 2 columns.with at least

Because the input must be a datastore, you need to format your input so that your five features are a column vector. Here's code...

Training with trainNetwork failed. The value of 'ValidationData' is invalid. The datastore used for 'ValidationData' must return a table or cell array 2 columns.with at least

Because the input must be a datastore, you need to format your input so that your five features are a column vector. Here's code...

2 months ago | 0

| accepted

Answered

How to close small holes inside each blob?

I htink the issue is that your image needs to be converted to a grayscale image first. Here's some code I generated using the Im...

How to close small holes inside each blob?

I htink the issue is that your image needs to be converted to a grayscale image first. Here's some code I generated using the Im...

2 months ago | 0

| accepted

Answered

where can i get the code for 'helperReadVelodyneSLAMData' function?

Run the Copy Command button code in your command window to download the example and supporting files to your local machine. MATL...

where can i get the code for 'helperReadVelodyneSLAMData' function?

Run the Copy Command button code in your command window to download the example and supporting files to your local machine. MATL...

2 months ago | 1

| accepted

Answered

Convert .txt to .csv with prespecified format

Assuming your input file can be duplicated by copying and pasting the text above into a text file, here is how I would do it. T...

Convert .txt to .csv with prespecified format

Assuming your input file can be duplicated by copying and pasting the text above into a text file, here is how I would do it. T...

2 months ago | 1

| accepted

Answered

Cannot install Matlab R2024a for UI issues... WIndows 11 Dell Laptop

You can receive install support from MathWorks. Please contact support: https://www.mathworks.com/support/contact_us.html

Cannot install Matlab R2024a for UI issues... WIndows 11 Dell Laptop

You can receive install support from MathWorks. Please contact support: https://www.mathworks.com/support/contact_us.html

2 months ago | 0

Answered

Rescaling Image inputs before training googlenet - transfer learning

You may need to resize your images, but GoogleNet does not impose any requirment on the pixel values. You might find this examp...

Rescaling Image inputs before training googlenet - transfer learning

You may need to resize your images, but GoogleNet does not impose any requirment on the pixel values. You might find this examp...

2 months ago | 0

| accepted

Answered

How to extract data selection from multiple .txt files and plot one graph?

The indexing error suggests something is wrong with how your code handles multiple files. As for loading the data, if your files...

How to extract data selection from multiple .txt files and plot one graph?

The indexing error suggests something is wrong with how your code handles multiple files. As for loading the data, if your files...

2 months ago | 0

| accepted

Answered

Error: Index exceeds the number of array elements. Index must not exceed 1.

The error means your are trying to index an element of your array that does not exist. The error is telling you that your array ...

Error: Index exceeds the number of array elements. Index must not exceed 1.

The error means your are trying to index an element of your array that does not exist. The error is telling you that your array ...

2 months ago | 0

| accepted

Answered

Someone can help me about this error

The error means that MATLAB cannot find the jpg file the code is trying to load. The fix is to either place the file in the cu...

Someone can help me about this error

The error means that MATLAB cannot find the jpg file the code is trying to load. The fix is to either place the file in the cu...

2 months ago | 0

Answered

Is there a way to interact programmatically with Medical Image Labeler?

I have responded in your other question. The Label Definitions are saved to a mat file, along with paths to the Data Source and...

Is there a way to interact programmatically with Medical Image Labeler?

I have responded in your other question. The Label Definitions are saved to a mat file, along with paths to the Data Source and...

2 months ago | 1

| accepted

Answered

Error loading images programmatically in Medical Image Labeler

This appears to be a bug that occurs when your LabelDefinitions table is empty. I was able to duplicate the error using the gTru...

Error loading images programmatically in Medical Image Labeler

This appears to be a bug that occurs when your LabelDefinitions table is empty. I was able to duplicate the error using the gTru...

2 months ago | 1

| accepted

Answered

unable to find battery Bulider

Note that the Battery Builder app is a MATLAB App, not a Simscape app. Switch to your MATLAB window and launch the app there. ...

unable to find battery Bulider

Note that the Battery Builder app is a MATLAB App, not a Simscape app. Switch to your MATLAB window and launch the app there. ...

2 months ago | 1

Answered

redevelop an app with src file

Any new apos should be developed using App Designer. I recommend completing the App Building Onramp. It's a free, 90 minute int...

redevelop an app with src file

Any new apos should be developed using App Designer. I recommend completing the App Building Onramp. It's a free, 90 minute int...

2 months ago | 0

Answered

using of cd command

In MATLAB Online, the root folder is /MATLAB Drive/. The file system of MATLAB Online is MATLAB Drive. The only way to access ...

using of cd command

In MATLAB Online, the root folder is /MATLAB Drive/. The file system of MATLAB Online is MATLAB Drive. The only way to access ...

2 months ago | 1

Answered

I need to plot precipitation data. First, adjust y limits of a stacked plot to accommodate totals for the month. Second, have dates on the x axis.

What do you want your YLims to be? As for dates, if your X data is a datetime, then your x axis will display dates. tbl = re...

I need to plot precipitation data. First, adjust y limits of a stacked plot to accommodate totals for the month. Second, have dates on the x axis.

What do you want your YLims to be? As for dates, if your X data is a datetime, then your x axis will display dates. tbl = re...

2 months ago | 0

| accepted

Answered

How to fix invalid array indexing ?

This is not valid syntax jointordinarysegment(ijk)(ismember(jointordinarysegment(ijk).Z,Zbotbeam),:); It looks like you are tr...

How to fix invalid array indexing ?

This is not valid syntax jointordinarysegment(ijk)(ismember(jointordinarysegment(ijk).Z,Zbotbeam),:); It looks like you are tr...

2 months ago | 0

| accepted

Answered

Two y-Axes plot order and legend issue

1. What ever is plotted later is in front. The simplest approach is to change the order you plot the lines. If you want the gray...

Two y-Axes plot order and legend issue

1. What ever is plotted later is in front. The simplest approach is to change the order you plot the lines. If you want the gray...

2 months ago | 0

Answered

cannot enter = symbol

There is no implied multiplication. Also, the syntax for using tan is incorrect. lambda = ((g*T^2/(2*pi))*tan(H))*(2*pi*d/lambd...

cannot enter = symbol

There is no implied multiplication. Also, the syntax for using tan is incorrect. lambda = ((g*T^2/(2*pi))*tan(H))*(2*pi*d/lambd...

2 months ago | 0

| accepted

Answered

Get non numerical parts from different sheets in excel file.

By default, that is all that xlsread returns. You probably want to use this syntax instead: [num,txt,raw] = xlsread(___) Note ...

Get non numerical parts from different sheets in excel file.

By default, that is all that xlsread returns. You probably want to use this syntax instead: [num,txt,raw] = xlsread(___) Note ...

2 months ago | 0

| accepted

Answered

how can i make graph i n which first i want function f(x,y) from user by input command but then i HAVE TO PLOT THAT FUNCTION f(x,y) 3D plot.

I think you are not using inline correctly. You likely need to use the following syntax. f = inline(expr,arg1,arg2,…,argN) The...

how can i make graph i n which first i want function f(x,y) from user by input command but then i HAVE TO PLOT THAT FUNCTION f(x,y) 3D plot.

I think you are not using inline correctly. You likely need to use the following syntax. f = inline(expr,arg1,arg2,…,argN) The...

2 months ago | 2

| accepted

Answered

MATLAB Grader: What should my assessment return when it determines a student solution is correct or incorrect?

Please see this Answer: https://www.mathworks.com/matlabcentral/answers/548631-matlab-grader-determining-if-a-variable-is-a-func...

MATLAB Grader: What should my assessment return when it determines a student solution is correct or incorrect?

Please see this Answer: https://www.mathworks.com/matlabcentral/answers/548631-matlab-grader-determining-if-a-variable-is-a-func...

2 months ago | 1

Answered

How to fix my linear fit model?

The simplest way in MATLAB is to use fit. The code would be even simpler if you were fitting a single model to your data, instea...

How to fix my linear fit model?

The simplest way in MATLAB is to use fit. The code would be even simpler if you were fitting a single model to your data, instea...

3 months ago | 1

Answered

Is there any provision to specify the cluster size for each cluster in Kmeans clustering algorithm in MATLAB?

See this Answer: https://www.mathworks.com/matlabcentral/answers/498643-clustring-with-the-same-number-of-point-inside-each-clus...

Is there any provision to specify the cluster size for each cluster in Kmeans clustering algorithm in MATLAB?

See this Answer: https://www.mathworks.com/matlabcentral/answers/498643-clustring-with-the-same-number-of-point-inside-each-clus...

3 months ago | 0

Answered

How to merger multiple.nc files consists of 2D matrix into 3D matrix

Load each file indiviudally, extract the variable you want, and use the cat function to concatenate each one along the 3rd dimen...

How to merger multiple.nc files consists of 2D matrix into 3D matrix

Load each file indiviudally, extract the variable you want, and use the cat function to concatenate each one along the 3rd dimen...

3 months ago | 1

Answered

Creating a new variable in a Table with classifiers of 1 or 0

My answer assumes Table is the name of your table variable. Currenlty, your code is assigning the value to the velocity variabl...

Creating a new variable in a Table with classifiers of 1 or 0

My answer assumes Table is the name of your table variable. Currenlty, your code is assigning the value to the velocity variabl...

3 months ago | 0

Answered

My graph is not plotting my data. How do I make it graph Vrms?

Two issues You never define your x variable, f Your code calculates a single value for Vrms By default, semilogx does not use...

My graph is not plotting my data. How do I make it graph Vrms?

Two issues You never define your x variable, f Your code calculates a single value for Vrms By default, semilogx does not use...

3 months ago | 0

| accepted

Answered

Non of the MATLAB Online training is Launching

If, after attempting the solutions provided in the linked Answer as well as waiting a few hours, there may be a techincal issue....

Non of the MATLAB Online training is Launching

If, after attempting the solutions provided in the linked Answer as well as waiting a few hours, there may be a techincal issue....

3 months ago | 0

Answered

In MATLAB Grader, how can I capture the printed output of a script type problem?

You are correct. The only way to do this in Grader is to use evalc. For script-type problems, the learner solution is saved wit...

In MATLAB Grader, how can I capture the printed output of a script type problem?

You are correct. The only way to do this in Grader is to use evalc. For script-type problems, the learner solution is saved wit...

3 months ago | 1

| accepted