MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
how to stop ode45 when one of states reach certain value
Mohamed Aburakhis - 2023-10-23

[x_dot] =derivative(t, x)   x is states [x(1).....x(4)] I need to stop the integration when x(3) reaches 0.1 when the integration stop record (t)...

Why can't I make a boxplot with data overlay?
Brenno Selli - 2023-10-21

Here we go... So, I have the following boxplot, the values on the X-axis are spaced by 1, which is fine and I understand why, but I need to find a way...

How to create an attention layer for deep learning networks?
Mohanad Alkhodari - 2023-10-21

Hello, Can you please let me know how to create an attention layer for deep learning classification networks? I have a simple 1D convolutional neural ...

How to change the scale of color bar to discrete ?
intanfifizieana - 2023-10-20

hi, I have my contour plot like this figure, I want to change the scale of colorbar to a discrete one with the scale value [ 0, 0.1 ,0.2 ,0.3 ,0.4 ,0....

how to define mpc object's plant as state space ?
Aman Shah - 2023-10-20

how to define the mpc object's plant as state space rather than transfer function. i tried to run this code but not working.     % Define system mat...

How to add legend in CIE diagram?
Tanvir Emrose - 2023-10-19

I have four points that I want to plot on CIE diagram. I am using the following command:     plotChromaticity hold on scatter([x_1 x_2 x_3 x_4],[y_1...

How to solve this '''Input to EIG must not contain NaN or Inf'''. problem
Prosenjit Paul - 2023-10-19

This is the code:   % 0: optimal BF % 0q: optimal BF clearvars; close all; filename='stat'; seed=1970; rng(seed); % rng(107); cl=3; ray=10; deg=5; pa...

how to get PointNet (no pointnetplus) layers?
mohammad.jalali91.mt - 2023-10-11

Hi everybody I train pointnet network in this matlab example: https://de.mathworks.com/help/vision/ug/point-cloud-classification-using-pointnet-deep-l...

How Can I Use MATLAB Online for Free ?
odun54.edu - 2023-10-02

How Can I Use MATLAB Online for Free ? ...

How to white balance the each RGB components of an image in matlab?
vivekyt.23 - 2023-10-02

First I uploaded an image and splitted it into RGB components..Then I want to white balance each rgb components seperately.. Is the double value of R ...

Get a Free Consultation or a Sample Assignment Review!