MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
how to create this matrix?
diadalina - 2023-03-17

can anyone help me to construct this matrix     blj=(-2)^j-l if lj  ...

Why is my own echelon function printing incorrect matrix
Murawski - 2023-03-17

I am trying to create an echelon function, however, I am having trouble debugging my error. It works for almost all matrices but for the following mat...

How to get numbers as answers? Values show NaN
Eric Lee - 2023-03-17

My function file my_rref.m is as follows:   function my_rref(A) [m,n]=size(A); for i=1:m-1 for j=i+1:m if abs(A(j,i))>abs(A(i,i)) t=A(j,:); A(j,:)=A(...

Drawing rectangles around binary image objects from region props
Adrian Lim - 2023-03-16

Hi, from the binary image above, I've tried drawing boundaries around the object and successfully counted them. But I'm thinking of trying another met...

natural cubic spline interpolation of y-values: how to get derivative of the spline wrt the y-values?
SA-W - 2023-03-16

Given a data set with support points x_1,...,x_n and corresponding y-values y_1,...,y_n.   My objective is to create a cubic spline f (with natural b...

Change component size in system composer
Aidin Esmkhani - 2023-03-16

How can I change a component size in MATLAB system composer by means of APIs (command line or MATLAB code) ?...

How to use isoutlier based in a part of the data?
Mariana - 2023-03-14

I have a vector of datas. Like this,   a =[0;0.0028;0.0002;0.0039;0.0061].   As you see, since the 4° element, the values start growing more until ...

Bi-linear (piecewise) curve fitting
Mark Cuanan - 2023-03-14

Can someone explain how to plot the two linear lines (Billinear curve fiiting) from the existing curve?    ...

Plot data in matlab
MattC - 2023-03-14

Hi, I have 3 variables which are basically in form of % and I would like to build a trent plot for these Example:   03/06/2023 - A - 5%03/06/2023 - B...

How to replace specific characters in a cell array?
Ivan Mich - 2023-03-14

I have a question about a code.   I have a cell array with strings and I would like to replace the last 5 characters with another for every cell arra...

Get a Free Consultation or a Sample Assignment Review!