Answered
How to plot a partial regression plot for logistic regression (using fitglm)?
Hi Prashanti, I understand that you are trying to plot a partial regression plot of a for logical regression model using ‘fitg...

3 months ago | 0

Answered
about readButton and readRotation functions in programming LEGO EV3 with matlab
Hi Nannan, I understand that sometimes your LEGO EV3 does not wait for you to provide an input and starts to move on its own. ...

3 months ago | 0

Answered
Arduino and servo motor
Hi Dekel, From what I understand you are trying to adjust the position of the servo with input ranging from 0 to 255. angle =...

3 months ago | 0

Answered
Portfolio Optimization MIQCP with SOC Constraint
Hello Sekar, I understand that you are having errors while implementing the MALAB Code you have written. Variable ‘z’ is no...

3 months ago | 0

Answered
PMSM current controller block
Hi Sriram, I understand that you want to know why the Vph_max is taken as (Vdc)/√3 and if the RMS value of Stator Voltage is √(...

3 months ago | 0

Answered
C2000 MCAN code for TMS320F28003x
Hello Joshua, I understand that you are trying to use the MCAN receive and transmit blocks for TMS320F280039C. This feature is...

3 months ago | 0

Answered
Can I model blockchain Peer-to-Peer Network using Simulink?
Hi Philip, I understand that you want to create a Blockchain peer-to-peer network in MATLAB using Simulink. While Simulink is ...

3 months ago | 0

Answered
I wanted to implement machine learning on a simulink model I am making and thus will require the model to input its data into a database. How to do that?
Hi Akash, I understand that you want to export data from Simulink to a database to use it further into a Machine Learning model...

3 months ago | 0

Answered
Controlling a PWM Fan with Matlab using Arduino
Hi Bishoy, I understand that you are trying to control the speed of your fan with the help of Arduino while connected to an ext...

3 months ago | 0

Answered
How to write the Matlab code for optimization of low pass filter using genetic algorithm?
Hi Kulbir, To implement a low-pass filter using coefficients optimized by a genetic algorithm (GA), you'll want to ensure that ...

3 months ago | 0

Answered
Matlab - Arduino Robot Control
Hi John, I understand that you are trying to use SCARA Robot with help of MATLAB and Arduino and want to know about a proper w...

3 months ago | 0

Answered
How to create a 4D surface from scattered data?
Hi Xavier, I understand that you have 245 results of a variable C, interpolated from 3 independent variables x, y, and z. You w...

3 months ago | 0

Answered
How to use Genetic Algorithm create the code that relate to facility layout optimization.
Hi Ke, Genetic Algorithms (GA) are a popular method for solving optimization problems, including facility layout optimization. ...

3 months ago | 0

Answered
Why am i getting error like this while using genetic algorithm code?
Hi Selvaraj, The error message you're encountering suggests that you're trying to use the feedback function in MATLAB with argu...

3 months ago | 0

Answered
Solving an equation using Newton Raphson method
Hi Nina, Here is an example implementation - % Define the parameters a = ...; % Define your value b = ...; % Define your val...

3 months ago | 0

Answered
use arduino uno and servo motor in matlab to track red object
Hi Md, I understand that you want to know about MATLAB code with the Arduino board. To run the code you provided in MATLAB, y...

3 months ago | 0

Answered
Does controlling arduino via the simulink arduino link overwrite the code on the arduino itself?
Hi Shirahn, I understand that you have already uploaded the code to your Arduino board and then you are trying to extract data ...

3 months ago | 0

Answered
mobiledev aquisition problems!!!
Hi Jonathan, When working with sensor data from an Android device using MATLAB's mobiledev object, you might encounter issues w...

3 months ago | 0

Answered
Understanding a From Workspace block in Simulink
Hi Daniel, I understand that you are trying to access a specific data point from within the array and then perform a comparison...

3 months ago | 0

Answered
Why is the data type not unified for custom training loops (dlarray) and internal training loops (array) in deep learning?
Hi Jack, The disparity in data types between custom training loops (dlarray) and internal training loops (array) in deep learni...

3 months ago | 0

Answered
I have error codes when which I am unsure how to fix
Hi Danny, It seems that you are encountering the above error code because of the absence of the 'Optimization ToolBox'. You can...

3 months ago | 0

Answered
polyspace-report-generator crashes
Hi Jason, When encountering issues with polyspace-report-generator crashing on Windows 10, there are several steps you can take...

3 months ago | 0

Answered
Genetic algorithm importing data
Hi Haris, To efficiently use a large dataset in MATLAB while running an optimization algorithm like a genetic algorithm, you sh...

3 months ago | 0

Answered
C2000 Microcontroller Blockset - XCP Not working
Hi Muhamet, I understand that you are trying to use XCP on CAN with C2000 and assume you are using F2837xD block set but there ...

3 months ago | 0

Answered
Matlab cannot recognize the I2C address on the Arduino
Hi Chun, I understand that you are experiencing an issue where an I2C scan through the Arduino IDE detects devices at addresses...

3 months ago | 0

Answered
choose random places on matrix
Hi Omer, randperm: This function generates a random permutation of integers from 1 to totalElements, ensuring that the selected...

3 months ago | 0

Answered
Monte Carlo Simulation (chutes and ladders)
Hi E, Below is a corrected version of your code: % Parameters num_simulations = 5; % Number of simulations to run results = ...

3 months ago | 0

Answered
Option to define 'number of Pareto solutions' when using gamultiobj?
Hi Hyun, The `gamultiobj` function in MATLAB is used for multi-objective optimization using a genetic algorithm. The number of ...

3 months ago | 0

Answered
How to improve machine learning classification testing result?
Hi Sandy Winardi, I understand that you are trying to classify data with 720 observations and 1000 features. To improve the tes...

3 months ago | 0

Answered
use fitcknn, fitcsvm
Hi Tu Nguyen, I understand that you are trying to classify ECG data using “fitcknn” and “fitcsvm” inbuilt function. To classi...

3 months ago | 0

Load more