photo

Sarthak

MathWorks

Last seen: 9 months 前 自 2023 起处于活动状态

Followers: 0   Following: 0

统计学

  • Knowledgeable Level 1
  • First Answer

查看徽章

Feeds

排序方式:

已回答
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...

10 months 前 | 0

已回答
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 ...

10 months 前 | 1

已回答
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...

10 months 前 | 0

已回答
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...

10 months 前 | 0

已回答
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...

10 months 前 | 0

已回答
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...

11 months 前 | 0

已回答
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...

11 months 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

| 已接受

已回答
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 ...

1 year 前 | 0

| 已接受

已回答
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{...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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 ...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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....

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0