Solved


Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

2 years ago

Solved


Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]

2 years ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

2 years ago

Solved


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

2 years ago

Solved


y equals x divided by 2
function y = x/2

2 years ago

Answered
How do i create the m-file for a simulink simulation of an induction machine in the stationary dq reference frame?
Hi @Maria del valle Gutierrez Ynsua, To address your query regarding,”How do i create the m-file for a simulink simulation of a...

2 years ago | 0

Answered
Limit the number of Radar detections per object to one in Automated driving toolbox
Hi @ Naren Reddy, First, create a multi-object tracker object using the multiObjectTracker function which will help associat...

2 years ago | 0

Answered
Multivariate regression for constrained dependent variables
Hi @Ismail, I would suggest utilizing a constrained optimization technique approach and formulate the problem as an optimizat...

2 years ago | 0

| accepted

Answered
Figure scaling issues in Linux
Hi @Dimand , You need a systematic approach to resolve this issue. However, I agree with your approach of achieving a uniform...

2 years ago | 0

Answered
Stop Data Acquisition when Needed
Hi @Nile3 , I agree with @Jaimin’s second optional approach, “adding data to a buffer” and suggest implementing this solution a...

2 years ago | 0

Answered
How to export images to a single pdf file
Hi @Lora , If I comprehend your issue correctly, you have a cell array containing 200 images, each sized 250x250 pixels and you...

2 years ago | 0

Answered
confusion matrix from the classification learner app.
Hi @Alyaa, I would use the predict function to make predictions on new data and then evaluate the model's performance using v...

2 years ago | 0

| accepted

Answered
How to write a subclass that `copies' an instance of the superclass?
Hi @ Tyler Fara, This is an interesting question, To address your query regarding, “Can I make a copy of an instance of a cla...

2 years ago | 0

Answered
DWT or MODWT with custom frequency bands
Hi @ Michael Hadler, Addressing your query regarding, “ This lets me guess that the parameters given to 'CustomWaveletFilter'...

2 years ago | 0

Answered
How can i draw shaded confidence region with nlparci and lsqcurvfit?
Hi @Khadija, Please see my response to your mentioned queries below. Addressing your query regarding, “I'm just tryi...

2 years ago | 0

| accepted

Answered
doubt in the backpropagation algorithm
Hi @jvbx, Based on the code snippet and your explanation, it seems that you are correctly calculating the gradient of the fir...

2 years ago | 0

Answered
¿Cómo puedo hacer para obetener el valor logico si es que estou utilizando el siguiente diagrama de bloques?
Hola @Sebastián Vega, No tengo Simulink instalado pero parece que el error se debe a la operación de resta que probablement...

2 years ago | 0

Answered
how to determine the optimum number of cluster use K-Mean Clustering
Hi @lina , Normally to determine the optimal number of clusters in K-Means Clustering, you can utilize the Elbow Method...

2 years ago | 0

Answered
Projecting circular motion on axes to derive linear accelerations
Hi @ Matteo GIUFFREDI, I agree with @Aniket,the provided script seems to be on the right track. My only suggestions for impro...

2 years ago | 0

| accepted

Answered
How to find the index of the minimum value in a matrix.
Hi @ Micaiah Barletta, Since you have not click “Answer Accepted”, please see revised code below. % Define a 9x21 matrix ...

2 years ago | 0

Answered
volume of set of points in 3d space with gap
Hi @Lotte , After collaborating thoughts with experts, I used the boundary function by generating same sample 3D points (ag...

2 years ago | 0

| accepted

Answered
How to find the index of the minimum value in a matrix.
Hi @Micaiah Barletta, To address your comments about, “So I have a 9x21 matrix, V, and I am trying to find the index (i,j) of...

2 years ago | 0

Answered
volume of set of points in 3d space with gap
Hi @Lotte , When dealing with complex geometries like artery bifurcations, achieving an accurate volume calculation can be ch...

2 years ago | 0

Answered
Size of the left side different from the right side
Hi @Inbal, The line SPdata = table(rand(108,1), 'VariableNames', {'Data'}); was to create a table named SPdata with one c...

2 years ago | 0

Answered
Adding sigstar to grouped bar graph
Hi @Hanna Armstrong , I do completely understand the reason of not sharing humongous amount of data . However, I have generat...

2 years ago | 0

Answered
Size of the left side different from the right side
Hi @Inbal, Both @dpb and @Wakter Robertson have provided excellent examples related to your problem, you have to check the dime...

2 years ago | 0

Answered
How can I make a power load which uses different power for a day?
Hi @seunghyeon, Use the From Workspace block ( <https://www.mathworks.com/help/simulink/slref/fromworkspace.html Workspace bl...

2 years ago | 1

Answered
needing help to use some codes
Hi @ Skill_s, First, generate sample data using the peaks function to plot the figures. Then, create three separate figures usi...

2 years ago | 0

Answered
How can I use the pointAt function within the satelliteScenario object to create a sun-pointing satellite?
Hi @ Austin Hunter, Unfortunately, the satelliteScenario object in Matlab does not directly provide access to the sun asset. Ho...

2 years ago | 3

Answered
Number of fields in structure arrays being concatenated do not match
Hi @ Azzurra, I will check the structure of the data you are passing to the toolbox functions. Make sure that the input struc...

2 years ago | 0

Load more