Sarthak
MathWorks
Followers: 0 Following: 0
Statistics
0 Questions
30 Answers
RANK
4 028
of 295 467
REPUTATION
12
CONTRIBUTIONS
0 Questions
30 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
2
RANK
of 20 234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153 912
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
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...
ungefär ett år ago | 1
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 ...
ungefär ett år ago | 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...
ungefär ett år ago | 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...
ungefär ett år ago | 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...
ungefär ett år ago | 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...
ungefär ett år ago | 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...
ungefär ett år ago | 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...
mer än ett år ago | 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...
mer än ett år ago | 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...
mer än ett år ago | 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...
mer än ett år ago | 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...
mer än ett år ago | 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...
mer än ett år ago | 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...
mer än ett år ago | 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...
mer än ett år ago | 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...
mer än ett år ago | 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...
mer än ett år ago | 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...
mer än ett år ago | 0
| accepted
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 ...
mer än ett år ago | 0
| accepted
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{...
mer än ett år ago | 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...
nästan 2 år ago | 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...
nästan 2 år ago | 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...
nästan 2 år ago | 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 ...
nästan 2 år ago | 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...
nästan 2 år ago | 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...
nästan 2 år ago | 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....
nästan 2 år ago | 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...
nästan 2 år ago | 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...
nästan 2 år ago | 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...
nästan 2 år ago | 0