Answered

Understanding the code, 2D-MUSIC Estimation DoA

Hi, I am assuming that you are facing trouble in understanding the code of max_matrix function. A(:) reshapes all elements of A...

Understanding the code, 2D-MUSIC Estimation DoA

Hi, I am assuming that you are facing trouble in understanding the code of max_matrix function. A(:) reshapes all elements of A...

8 months ago | 1

| accepted

Answered

Should the Symbolic Math Toolbox Enforce Assumptions on Assignment?

Hi, Symbolic objects and their assumptions are stored separately. When you set an assumption that a is real using syms a real ...

Should the Symbolic Math Toolbox Enforce Assumptions on Assignment?

Hi, Symbolic objects and their assumptions are stored separately. When you set an assumption that a is real using syms a real ...

8 months ago | 0

Answered

why does it give this result???

Hi, In the while loop part of the code, mldivide(\) operator is used which has the same precedence as that of matrix multiplic...

why does it give this result???

Hi, In the while loop part of the code, mldivide(\) operator is used which has the same precedence as that of matrix multiplic...

8 months ago | 0

Answered

simplifying an algebraic expression in two variables

The following code may solve your problem: clc; clear ; close all; syms x y; eqn = sqrt ((x-1)^2 + (y-2)^2) + sqrt ((...

simplifying an algebraic expression in two variables

The following code may solve your problem: clc; clear ; close all; syms x y; eqn = sqrt ((x-1)^2 + (y-2)^2) + sqrt ((...

10 months ago | 0

| accepted

Answered

how can i get an interpolation formula?

You can look into the interp1 function for 1-D data interpolation. You can go through various Interpolation methods to know more...

how can i get an interpolation formula?

You can look into the interp1 function for 1-D data interpolation. You can go through various Interpolation methods to know more...

10 months ago | 0

Answered

Error using sym/subs>normalize, Error in sym/subs>mupadsubs, Error in sym/subs

subs() can accept an array of variables as its second parameter, and another array the same size as the third parameter, and doe...

Error using sym/subs>normalize, Error in sym/subs>mupadsubs, Error in sym/subs

subs() can accept an array of variables as its second parameter, and another array the same size as the third parameter, and doe...

10 months ago | 0

Answered

How to model and simulate a system using its EOM?

The following code might solve your problem: syms g m l a da dda a_var(t) %a=angle, da=1st derivative of 1, dda=2nd derivative ...

How to model and simulate a system using its EOM?

The following code might solve your problem: syms g m l a da dda a_var(t) %a=angle, da=1st derivative of 1, dda=2nd derivative ...

10 months ago | 0

Answered

Related to the findpeaks() function (Array indices must be positive integers or logical values.)

MATLAB does not support negative or zero indices in arrays. You can debug your code by placing Breakpoints at required location ...

Related to the findpeaks() function (Array indices must be positive integers or logical values.)

MATLAB does not support negative or zero indices in arrays. You can debug your code by placing Breakpoints at required location ...

10 months ago | 0

Answered

Results are NaN or absurd if a certain parameter changes.

Hi, By default, all numeric values are stored as double data type. Once the number of nodes cross 50, the values in T array exc...

Results are NaN or absurd if a certain parameter changes.

Hi, By default, all numeric values are stored as double data type. Once the number of nodes cross 50, the values in T array exc...

10 months ago | 0

Answered

Symbolic to numeric conversion not working

You have been trying to integrate an expression within limits which is exceeding the bounds of double data type. MATLAB constru...

Symbolic to numeric conversion not working

You have been trying to integrate an expression within limits which is exceeding the bounds of double data type. MATLAB constru...

10 months ago | 0

Answered

Symbolic math integrals not solving at all

Your function has no obvious closed form integral. You need to switch to numeric integration, such as with integral() or vpaint...

Symbolic math integrals not solving at all

Your function has no obvious closed form integral. You need to switch to numeric integration, such as with integral() or vpaint...

10 months ago | 0

| accepted

Answered

How do I control pixhawk with mavros and home built motion capture system?

You can refer to the following documentations in order to get a fair idea of the ROS Toolbox. You can send ROS messages to the M...

How do I control pixhawk with mavros and home built motion capture system?

You can refer to the following documentations in order to get a fair idea of the ROS Toolbox. You can send ROS messages to the M...

10 months ago | 0

Answered

where do i went wrong,(Polynomials)?

I am assuming that the correct logic is used to write the code and hence directly jumping into the error. The error is ocurring ...

where do i went wrong,(Polynomials)?

I am assuming that the correct logic is used to write the code and hence directly jumping into the error. The error is ocurring ...

10 months ago | 0

Answered

how to plot poles,zeros, impulse response, step response, ramp response of the following system

Hi, I have the understanding that you have all the theoretical knowledge related to your question. You are facing trouble ...

how to plot poles,zeros, impulse response, step response, ramp response of the following system

Hi, I have the understanding that you have all the theoretical knowledge related to your question. You are facing trouble ...

2 years ago | 0

Answered

match two excel files by date and time

Hi, I have the understanding that you know how to import tables from excel file and you are facing problem in merging two tab...

match two excel files by date and time

Hi, I have the understanding that you know how to import tables from excel file and you are facing problem in merging two tab...

2 years ago | 0

| accepted

Answered

simulation for the path of a particle(sphere) in a water flow

Hi, I have the understanding that you have written the equations correctly in your code and the equations are differentiabl...

simulation for the path of a particle(sphere) in a water flow

Hi, I have the understanding that you have written the equations correctly in your code and the equations are differentiabl...

2 years ago | 1

Answered

PID controller in Discrete mode

Hi Pratik, I have the understanding that you have a hardware PID controller which has a delay of 10000 * Ts (where Ts is th...

PID controller in Discrete mode

Hi Pratik, I have the understanding that you have a hardware PID controller which has a delay of 10000 * Ts (where Ts is th...

2 years ago | 0