Answered
How to train MNSIT digit data using Naive Bayesian classifier (fitcnb)
Hi Sudheer, As far as I understand there is no issue with the data or the function fitcnb. The error signifies that a few colum...

3 years ago | 1

Answered
Error training neural network with datastore
Hi, I tried training the network on my dataset using the cell array and datastore. Both worked fine as expected. I could not de...

3 years ago | 0

Answered
Onramp Matlab courses source files
Hi, I went through the course and I was able to load the mat files in the sections you specified. You might want to try out the...

3 years ago | 1

Answered
Write figure/plot to jpeg with Coder support
Hi, fwrite and fopen seem to be C/C++ code generation compatible as mentioned in the documentation. You can try if these functi...

3 years ago | 0

Answered
How to buffer a certain amount of data in a buffer without saving all the data that passes through it?
You can try using a FIFO buffer (dsp.AsyncBuffer). Initialise the buffer of the appropriate size/capacity read data in a seque...

3 years ago | 0

Answered
Using matlab cloud with Matlab desktop
There is currently no way to enable running your code on MATLAB desktop while using MATLAB cloud, but you can try using other pu...

3 years ago | 0

Answered
How does tree bagger handle NaN values
General rules that are followed while NaN or missing values are encountered: Rule1: The algorithm simply discards the data poi...

3 years ago | 0

Answered
Interactive drafting tools in app designer
You might want to use UIAxes for your requirements. You can have a On/Off toggle, while the switch is on, you would like to re...

3 years ago | 0

Answered
Removing components connected to an arbitrary border
You can use imclearborder to suppresses structures that are lighter than their surroundings and that are connected to the image ...

3 years ago | 0

Answered
In Hardware configuration with Simulink support package for parrot mambo, after pairing with bluetooth device, list of services in "open services" is empty. What Should I do?
Please make sure you are following the prerequisites before initiating the connection: The Parrot® Mambo minidrone is switched ...

3 years ago | 0

Answered
How can I use Grid search on these parameters?
The following post explains how to do a grid search for SVM. You can do the same for decision tree by just changing the paramete...

3 years ago | 0

Answered
How to take fft from csv file acquired from Arduino
Please have a look at this similar thread. Your requirement is discussed here.

3 years ago | 0

Answered
how to write celll array to text file as an error output..? (below, Error_PV_comp is an cell aray). In the below example I am pop uping the error output but I need an error statements as an text file. Which logic and syntax to use,?
Try following these steps: You can print the content/error messages/data on command window Then use dary command to write tha...

3 years ago | 0

Answered
View errors of Standalone-App created with Matlab Compiler
Hi, You can try using "diary" command to write errors to a log file.

3 years ago | 0

Answered
problems with webread command
Hi, The possible workarounds you might want to try: Increase the timeout in weboptions Explicitly mention the file type you a...

3 years ago | 0

Answered
Matlab support for Raspberry Pi pitch shift example error
If you were able to run it once then debugging might help. You can try the following: clearing your workspace rebooting Raspbe...

3 years ago | 0

Answered
Can I observe signal from a signal generator?
Hi, You can try looking at the below mentioned resources. These might help you in solving your problem. Signal Generator and ...

3 years ago | 0

Answered
Ploting Corelation between MFCCs of two voice samples
Hi, You can proceed with extracting the mel frequency cepstral coefficients (MFCCs) for both the audio inputs, sampled at a fre...

3 years ago | 0

Answered
Does mnrfit and glmfit allow univariable regression? and how to interpret the results of regression from these functions?
Hi, You can use any of the mentioned models depending upon your requirements. Generally, logistic regression has a binary outco...

3 years ago | 0

Solved


Add two numbers
Given a and b, return the sum a+b in c.

3 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3 years ago

Answered
Solve 2nd Order Non-homogeneous Differential Equation
Hi, Please look at the relevant links that provides a similar step by step process that might meet your requirements. Here is ...

3 years ago | 1

Answered
Darkening and changing image values ​​using imread
Hi, You can try reading the image using read. You can start by creating a Tiff object and then read data from the TIFF file. ...

3 years ago | 0

Answered
BEST Robotics State flow use keyboard button to hold object
Hi, The following might give you a broader perspective and solve some of your requirements for the BEST robotics competition, p...

3 years ago | 0

Answered
How do I delete MATLAB Drive Connector? It has never worked and I always get "an unexpected error has occurred" on startup.
You can directly delete the following folder, if you are not able to uninstall using control panel. For a windows machine, you c...

3 years ago | 0

Answered
How to animate two functions at the same time?
Hi, Please refer this example, it has a detailed demonstration on a similar animation that you require and also refer this func...

3 years ago | 0

| accepted

Answered
Using container map to get values and to draw histogram
Hi, I understand that you are storing your data in containers.Map and want to plot it as a bar graph. Below is the code snipp...

3 years ago | 0

Answered
How to extract data from Matlab figures in a folder into Excel spreadsheets
Hi, Please have a look at MLGetFigure, it will let you import any MATLAB figure into excel worksheets. Also, have a look at t...

3 years ago | 0

Answered
how to delete .dll file in Matlab?
function [ st, msg ] = cmd_rmdir( folderspec ) % cmd_rmdir removes a directory and its contents % Removes all dire...

3 years ago | 0

Load more