Community Profile

photo

Tanmay Das

Last seen: 2 jours ago Active since 2020

Statistics

  • Knowledgeable Level 2
  • Revival Level 3
  • First Answer

View badges

Content Feed

View by

Answered
Can you help and show if any where ive gone wrong with any codes
Hi, atan2(Y,X) returns the four-quadrant inverse tangent (tan-1) of Y and X, which must be real. In the given code, Sgamma is a...

4 jours ago | 0

Answered
Units of simulink simulations
Hi, The default unit for time is seconds in Simulink. You can get a list of all default units from showunitslist command. Trans...

7 jours ago | 0

| accepted

Answered
Index exceeds the number of array elements (100). Error in interpolazione (line 149) BFin=B(n); %buckling finale
Hi, The variable B has not been initialized anywhere within the limits of the code that has been attached. So, the following pi...

7 jours ago | 0

Answered
'Find & Replace' in simulink
Hi, You can go to Modeling Tab>Find(Under Evaluate and Manage Section)>Find... The Finder tool will open. You can change to Re...

7 jours ago | 0

Answered
How do I re-write the Nernst-Planck equation in PDE Toolbox form?
Hi, You can use the following rule to solve the Nerst-Plank equation and reduce it to a form required by PDE toolbox.

8 jours ago | 0

Answered
Set more than one variable in model workspace?
Hi, ResetFcn resets behavior for the environment, specified as a function handle or anonymous function handle. The function mus...

8 jours ago | 0

Answered
Unroll the surface of an Oloid
Hi, Contourf projects the 3D plot into a 2D contour plot. You just need to add this line at the end of your code: contourf(X,Y...

8 jours ago | 0

Answered
Schottky diode IV characteristics plot error
Hi, The expression inside the exp function should be enclosed within braces/parenthesis in order to avoid error due to operator...

9 jours ago | 0

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

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

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

10 jours 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 ((...

environ 2 mois 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...

environ 2 mois 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...

environ 2 mois 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 ...

environ 2 mois 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 ...

environ 2 mois 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...

environ 2 mois 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...

environ 2 mois 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...

environ 2 mois 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...

environ 2 mois 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 ...

environ 2 mois 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 ...

plus d'un an 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...

plus d'un an 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...

plus d'un an 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...

plus d'un an ago | 0