photo

Sarthak

MathWorks

Last seen: environ un mois il y a Actif depuis 2023

Followers: 0   Following: 0

Statistiques

  • Knowledgeable Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
How to compute Sound Pressure Level?
Hi Sangwoo, I understand you want to plot the SPL Graph in frequency domain and want to know the value of “P_ref”. In the form...

environ un an il y a | 1

Réponse apportée
How to omit pictorial presentation of Scalogram?
Hi Hamed, I understand you want to close the plot generated after every loop iteration. You can achieve this by making use of ...

environ un an il y a | 1

Réponse apportée
limiting parameter values in c-code
When generating C code from a Simulink model, you can limit the value of a parameter by adding constraints to the generated code...

environ un an il y a | 0

Réponse apportée
initial guessing - for mixed boundary condition
Hi N Nithya, I understand you are looking for a way of initial guessing, but I found something else in the code which might hel...

environ un an il y a | 0

Réponse apportée
Equally distributed points of known distance on a 3D solid body/3d surface
Hi Sabrina, I understand that you need the points on the surface/body to be in an equal triangular pattern. You can use the “s...

environ un an il y a | 0

Réponse apportée
I don't know why the Kalman filter algorithm I have written is not working
Hi Meysam, The reason why the position difference in the first iteration becomes zero is because you are initializing the stat...

environ un an il y a | 0

Réponse apportée
Why does the [x,fval,exitflag,output,lambda] = linprog(f,A,b,Aeq,beq,lb,ub) function return only integer numbers?
Hi Romeo, I understand that you want to set the precision of the output variable. You can use the format function to set the...

environ un an il y a | 0

Réponse apportée
How to map 2D mesh points on any 3D surface keeping the interpoint distace as it was in 2D surface?
Hi, Here are few approaches to project 2D points onto a 3D surface: Height map projection: You can use MATLAB’s ‘interp2’ fu...

plus d'un an il y a | 0

Réponse apportée
How to write a junction in roadrunner hdmap using matlab?
Hi, Please refer to the following code to create a junction in RoadRunner HDMaP using MATLAB: % Create a new junction junc...

plus d'un an il y a | 0

Réponse apportée
How to numerically solve a system of coupled partial differential and algebraic equations?
Hi, One way to solve a system of coupled partial differential equations (PDEs) and algebraic equations is to use a numerical m...

plus d'un an il y a | 0

Réponse apportée
Error using eig Input matrix contains NaN or Inf.
Hi, To fix this error, you need to identify the matrix that contains NaN or Inf values and handle them appropriately. Refer th...

plus d'un an il y a | 0

Réponse apportée
I have Simulink Coverage but could not find in Configuration parameters
To enable Simulink Coverage in your Simulink model, you need to perform the following steps: Open your Simulink model. Go to...

plus d'un an il y a | 0

Réponse apportée
Input argument contains an empty equation or variable.
Hi, The error message suggests that one of the equations in your system is empty or contains an empty variable. This can happe...

plus d'un an il y a | 0

Réponse apportée
Can someone help me solve the following bugs? Ps:I have installed NVIDIA Nsight and MinGW64.
Hi, The output you provided indicates that some of the GPU-related dependencies were not found on your system. The cuDNN lib...

plus d'un an il y a | 0

Réponse apportée
How can I generalise this?
Hi, To generalize your code into a working algorithm, you can use a loop to iterate over each row of your input matrix, and th...

plus d'un an il y a | 0

Réponse apportée
How do i put a center of surface in [0 0] coordinates
Hi, To shift the center of the surface to (0,0), you need to subtract the coordinates of the center point from all the x and y...

plus d'un an il y a | 0

Réponse apportée
Plotting the objective function
Hi, It looks like the function ‘f(x0)’ is not recursively calling itself, but it might be stuck in an infinite loop due to som...

plus d'un an il y a | 0

Réponse apportée
complex logical indexing?
Hi, You can use logical indexing to achieve this without a for loop. Please refer to the following code for better understandi...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Velocity autocorrelation in time
Hi, You can use either the magnitude of the velocity 'V_mag' or the velocity components 'Vx' and 'Vy' separately. Using the ...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Merge two cells of different size but have one rows in common
Hi, Here are the steps and the code you could refer: % Find the common value commonValue = intersect(r_ptf{12,:}, r_ptf3{...

plus d'un an il y a | 0

Réponse apportée
How can I reuse numerical values them back as inputs?
Hi, You can save it to a MAT-file and then load it back in before the script runs. This way, each time the script is run, it w...

presque 2 ans il y a | 0

Réponse apportée
fprint f for a matrix
Hi, You can use a ‘for’ loop to do the same. Please refer to the following code to understand the problem: z = [0 3 0; 1 2...

presque 2 ans il y a | 0

Réponse apportée
last iteration of the for loop takes too long
Hi, It’s difficult to exactly know why this is happening, but what I have understood is that maybe the arrays Axx, Ayy, Azz, B...

presque 2 ans il y a | 0

Réponse apportée
Concatenating structure array with matrix
Hi, As far as I have understood the question, you want to concatenate two files which contain array and matrix. You can use ...

presque 2 ans il y a | 0

Réponse apportée
how do I substitute the values inside the vector?
Hi, You can look up to “Logical Indexing” section in the following documentation: Matrix Indexing in MATLAB - MATLAB & Simul...

presque 2 ans il y a | 0

Réponse apportée
Error by having similar names for a variable and a MATLAB function
Hi, In MATLAB, when you have a variable with the same name as a built-in function, MATLAB will use the variable instead of the...

presque 2 ans il y a | 0

Réponse apportée
how to assign zero to a vaiable
I think if you put the value of include_self_wght == 1, i.e., ‘Yes’, then self_wght will be assigned a value of 0 as requested....

presque 2 ans il y a | 0

Réponse apportée
How to Solve Mean of an Array? Show each Iteration?
Hi, If you just want to show what value each variable will hold as value after each iteration, you can just remove the semicol...

presque 2 ans il y a | 0

Réponse apportée
I am struggling with letter b and keep getting this as an error. Variable b must be of size [1 1]. It is currently of size [3 4]. Check where the variable is assigned a value.
According to the question (b) part, you need to find log10 of all the elements in the matrix. Since the size of B is [3 4], when...

presque 2 ans il y a | 0

Réponse apportée
I am stuck up in error
The error is arising due to the following reasons: The function exp (4) - x^4 isn’t converging. Hence the convergence loop wil...

presque 2 ans il y a | 0