photo

Anurag Ojha


Last seen: 27일 전 2023년부터 활동

Followers: 0   Following: 0

메시지

Spoken Languages:
English
Pronouns:
He/him

통계학

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

배지 보기

Feeds

보기 기준

답변 있음
Using For loop to plot graphs of functions
Hey The error you are encountering is due to the fact that the vpasolve function expects the equations and variables to be sym...

대략 1개월 전 | 0

답변 있음
Deleting range of rows in a time series data
Hey To remove the rows with a range of years from 1995 to 2016, you can use logical indexing in MATLAB. Here's an example code...

대략 1개월 전 | 3

| 수락됨

답변 있음
i try to do quadratic interpolation with 3 initial guesses. when i run the code it do nothing
Hey The code you provided seems to have some syntax errors. Additionally, the use of the inline function is not recommended as...

대략 1개월 전 | 0

답변 있음
Why Am I getting this warning about SNOPT derivative structure
Hi Mudrik The warning message indicates that the SNOPT solver expects specific derivative structures for the objective function...

대략 1개월 전 | 0

답변 있음
Find Transfer Function from Laplace transformation
Hi Christos I have written MATLAB code to find a simpler form of the transfer function I have made use of some in built MATLAB...

대략 1개월 전 | 0

| 수락됨

답변 있음
statement in test assessment block
Hi Pratik In Simulink Test, you can verify outputs at different time steps using the Test Assessment block by employing a serie...

대략 1개월 전 | 0

| 수락됨

답변 있음
What can I do if I get the following error?
Hey The error you're encountering with the interpn function suggests that the grid vectors xspan, yspan, and tspan0 do not mat...

대략 1개월 전 | 0

답변 있음
Hydrostatic pressure in PDE toolbox
Hello Jigar To apply varying hydrostatic pressure on the side face of the meshed rectangular box, you can follow these steps: ...

대략 1개월 전 | 0

답변 있음
close autosar update report
Hi Melih In order to close autosar update report with script you can execute following command: ma = Simulink.ModelAdvisor.ge...

대략 1개월 전 | 0

답변 있음
How to construct piecewise polynomial?
Hi Avinash The error in your code is occurring because the variable z is not defined outside the loop. To fix this, you can de...

대략 1개월 전 | 0

답변 있음
how can I get the transfer function of this equation using Matlab: dy/dx + K*sqrt(y)-C =0
Hi Reuel To determine the stability of your system, you can analyze the transfer function of the system. However, before doing...

대략 1개월 전 | 1

답변 있음
How to improve bessel function speed
Hi Kuy To calculate Bessel functions faster in MATLAB. You can use the besseli function instead of besselj to calculate the mod...

대략 1개월 전 | 0

답변 있음
How to generate a2l (asap2) file for Autosar classic platform with Matlab R2021b?
Hello Lin Kindly refer to following MATLAB documentation for step by step instructions to generate a2l (asap2) file for the cla...

대략 1개월 전 | 0

답변 있음
Definition of Caputo fractional order system
Hi Frashid In order to code this in MATLAB you can refer to the code attached below,I have taken certain assumptions. Kindly m...

대략 1개월 전 | 0

답변 있음
“For loop” to plot graphs of functions
Hello To produce the graphs Q as a function of A, F as a function of A, and Z as a function of A, you can use a for loop in MA...

대략 1개월 전 | 0

답변 있음
Need help with restricted areas and warp gates
Hello To make the balls collide with the restricted area and go through the warp gates, you can modify the code as follows: A...

대략 1개월 전 | 0

답변 있음
how can I change autoencoder weights?
Hi Nadia Unfortunately, you cannot directly modify the weights of an autoencoder in MATLAB. The 'EncoderWeights' property is re...

대략 1개월 전 | 0

답변 있음
median of grouped frequency data
Hi Nafisa You can use 'grpstats' function in order to calculate median of a grouped data. Adding a pseudo code: % Create a ta...

대략 1개월 전 | 0

답변 있음
Perform Successive Approximation Register on a Signal Analog to Digital Converter With Error output
Hello You can refer to the following MATLAB documentation. It would be a good starting point. https://www.mathworks.com/help/...

3개월 전 | 0

답변 있음
How to create union in simulink
Hello You can refer to following file exchange link to get more information: https://www.mathworks.com/matlabcentral/fileexch...

3개월 전 | 1

답변 있음
How to Scale Gradient Field for large z-values?
Hello Niklas One way to adjust it is by normalizing the gradient vectors before plotting them. Here's an updated version of y...

3개월 전 | 0

| 수락됨

답변 있음
Invalid Mex file error
Hello Meriem The error you are encountering can be caused if there is compatibly issue between the version of MATLAB you are us...

3개월 전 | 0

답변 있음
Source function f in pde toobox
Hello Lewis In MATLAB, you can work with complex numbers and perform operations on them. If you want to represent a complex sou...

3개월 전 | 0

답변 있음
Hessian by DL toolbox
Hello Mahsa You can use hessian function to find hessian matrix. hessian(f,v) finds the Hessian matrix of the symbolic scalar ...

3개월 전 | 0

답변 있음
Background for Heart-Systemic-Pulmonary (HSP toolbox)
Hello Ram I believe you have downloaded the model from the below attached file exchange link. https://www.mathworks.com/matlab...

3개월 전 | 0

답변 있음
Battery Energy Storage system
Hello Rajat Kindly follow the below attached file exchange link for Battery Energy Storage System. It contains useful informat...

3개월 전 | 0

답변 있음
inconsistent connection to serial port
Hello Andres I found this MATLAB documentation page that provides probable causes and troubleshooting methods of the warning me...

3개월 전 | 0

답변 있음
If Else if statement problem
Hello Maya Kindly go through following code % Define the vector of grades grades = [4, 7, 9, 12, 16, 19]; % Iterate over...

3개월 전 | 0

| 수락됨

답변 있음
Error message, Equations of one or more components may be dependent or inconsistent in simscape model.
Hello Huang The cause of error “Steady state solve failed to converge” could be due to the algebraic loops in your model. To...

6개월 전 | 0

답변 있음
Error while running simulink bicycle kinematic model for mobile robot
Hello Dominika, To resolve “Error in port width and dimension” you can use the reshape block. It changes the dimensionality of...

6개월 전 | 0

더 보기