MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
why am I getting 'ugly' output?
Muazma Ali - 2023-10-24

combinations_available=input(['Enter the number associated with the combination of salts available. Enter 0 if none of the combinations are available....

How to find the point of interception between the two lines?
ZenithWoman - 2023-10-24

I have two y values, second and third columns in the attached matlab file. I am looking for the point of interception of the two lines. I have interpo...

How do I extract the audiodata from a struct that I got from dir
Wynand - 2023-10-23

I have a folder with 100 wav files I need to iterate through and apply different functions to This is what I have so far   clear % Tester_object = au...

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...

Get a Free Consultation or a Sample Assignment Review!