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

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

Answered
How to create a structural array from a txt file?
Hi, I understand that you want to extract data from a txt file and further save it in a struct or a matrix. There are two ways ...

3 years ago | 0

Answered
I want to make a background black and foreground is same as original.
Hi, You can try activecontour and lazysnapping. Both of them are for segmenting image into background and foreground using con...

3 years ago | 0

Answered
From a matrix, Pick one element from each row and not from same column for all possibilities. Only for non zero elements.
Hi, Your requirements are answered in a similar question mentioned in this link. Also, selecting set of elements from a matrix...

3 years ago | 0

| accepted

Answered
How to find a correlation coefficient of each variable from a multivariable dataset?
Hi, Correlation can be observed between all pair of features and it can tell you how strongly are those variables related. C...

3 years ago | 0

Answered
Help needed in solving differential equation
Hi, I understand what you are trying to accomplish. Please refer to this link for solving it using direct method and refer to ...

3 years ago | 0

| accepted

Answered
I have some data at hand, I want to correlate them, but I do not know what is the equation I should need, how can I do it ?
Hi, Assuming your data has more than one features/variables, say M features and N data points. Now, correlation can be obser...

4 years ago | 0

Load more