Community Profile

photo

Kartik Saxena


Last seen: 11 days ago Active since 2023

Followers: 0   Following: 0

Programming Languages:
C++, MATLAB
Spoken Languages:
English
Pronouns:
He/him

Statistics

  • Knowledgeable Level 2
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Help needed with finding good convergence values for X1, to X7
Hi, To find good convergence values for 'X1' to 'X7', you can try adjusting the initial guesses and the convergence tolerance. ...

1 month ago | 0

Answered
How to represent the 3-D geometry of an object by faces and vertices for Hexahedral Mesh
Hi, MATLAB provides functions for working with meshes, such as 'stlwrite' for exporting STL files. You can convert your hexahed...

1 month ago | 0

Answered
PPO Agent training - Is it possible to control the number of epochs dynamically?
Hi, Given below is the code snippet depicting the logic/pseudo algorithm you can refer to for this purpose: % Assume env is yo...

1 month ago | 0

| accepted

Answered
Solving nonlinear equations using matrix
Hi, Based on your problem, I'm adding a sample code snippet to solve this kind of problems, you can refer to it in order to des...

1 month ago | 0

Answered
Modal analysis - Stiffness Matrix - Simulink vehicle suspension model
Hi, In order to perform a general Modal Analysis, we can follow the following guidelines: 1. Linearize Your Model First, you ...

1 month ago | 0

Answered
How to I use the dielectric functions to control the relative permeability?
Hi, If you're trying to simulate the effects of magnetic materials without direct support for magnetic properties, you might ne...

1 month ago | 0

Answered
Setting Arguments using VarFun & RSIndex
Hi, Refer to the following code snippet to get an idea of how to do s: % Set RSI lookback period n = 5; % Define the rsind...

2 months ago | 0

Answered
Warning: Unable to find explicit solution. in dsolve
Hi, From the code and the error, it seems that you are trying to solve a rather complex second-order differential equation with...

2 months ago | 0

Answered
how can I get numerical simulation plot for a system of fractional order equations? If possible please provide an example.
Hi, Simulating a system of fractional order equations involves using numerical methods that can handle the non-integer order de...

2 months ago | 0

Answered
optimization and sensitivity analysis
Hi, To find the values of 'pa' and 'pb' that maximize the equation "pi = (pa + pb) * na * nb", where 'na' is a function of 'pa'...

2 months ago | 0

Answered
How to define the state disturbance loading coefficient matrix for a diffuse cyclic term in a state space model?
Hi, In order to enforce that the two disturbance variances are identical in a time series state space model with a diffuse stat...

3 months ago | 0

Answered
Can System Identification Toolbox do transfer function estimation based on measured FRF, without input / output data?
Hi, One approach I can think of, to approximate the result to a '2DOF' vibration model using the measured frequency response da...

3 months ago | 0

Answered
Can't write H5T_STD_U32LE instead it automaticallly converts to H5T_STD_U8LE
Hi, From the warning "Conversion from uint32 to datatype H5T_STD_U8LE may clamp some values", I understand that the data you ar...

3 months ago | 0

Answered
Robot arm PD controller code
Hi, Here are a few resources which might be helpful for this purpose. https://www.mathworks.com/company/newsletters/articles/t...

3 months ago | 0

Answered
determining the number of range to obtain the number of cycles using rainflow counting
Hi, If you want to get the stress ranges associated with a specific number of load cycles, such as 4 cycles, you can sum the co...

3 months ago | 0

Answered
Effects of linear model estimates
Hi, The 'fitlm' function in MATLAB does not directly provide standardized coefficients, but you can calculate them manually. He...

3 months ago | 0

Answered
How to simulate overconstrained simscape model?
Hi, If you want to prescribe a torque to the rotor of a Permanent Magnet Synchronous Motor (PMSM) without affecting the angular...

3 months ago | 0

Answered
Using PID Block Values in Mitsubishi PLC
Hi, The exact context of 'P', 'I', 'D' values in Simulink is: 'P' : Proportional gain, provided from a source external to the ...

3 months ago | 0

Answered
Structure Member Array Index Selection using Selector
Hi, I understand that you want to define Simulink block programmatically through your code. The following example from MathWor...

4 months ago | 0

Answered
Scaled Mode Shapes in Modal Analysis of a Simulated System and a Wind Turbine Blade
Hi, I understand that you want to know the basis on which mode shapes are scaled in 'Modal Analysis of a Simulated System and a...

4 months ago | 0

Answered
Agent in Workspace after training as the trained one?
Hi, In MATLAB, when you are training a reinforcement learning agent using functions like `train`, the variable in the workspace...

4 months ago | 0

Answered
Alternative of sim for Simulink model that allows code generation
Hi, I understand that you require an alternate for 'sim' command that allows code generation. You can use Simulink Coder to ge...

4 months ago | 0

Answered
Defining a formula for a linear mixed effects model
Hi, I understand that you want to run a linear-mixed effects model with two additional grouping variables. You can refer to th...

4 months ago | 0

Answered
How to set the number of independent variables of differential equations automatically?
Hi, I understand that you want to identify the number of independent variables automatically. To automate the process of creat...

4 months ago | 0

Answered
How can I extract the number of test cases contained by a test file?
Hi, I understand that you want to extract the number of test cases present in all the Test Suites. To calculate this, you can ...

4 months ago | 0

Answered
how to generate this dataset using matlab?
Hi, Based on your description, it seems like you are trying to generate a design matrix `X` for a categorical variable `Z` that...

4 months ago | 0

Answered
Where is the rigid-body mass placed and how are the nodal forces calculated in the "Reduced-order Flexible Solid"?
Hi, The Simscape Reduced-Order Flexible Solid block allows you to model the dynamics of a flexible body by providing the mass a...

4 months ago | 0

Answered
Is there any in-built function/ method to customize state-space model in MATLAB
Hi, In MATLAB, the standard state-space to transfer function conversion using `ss` and `tf` commands assumes a linear time-inva...

4 months ago | 0

Answered
ODE45 can solve Implicit function ?
Hi, The system of equations you've provided appears to involve both ordinary differential equations (ODEs) and differential-alg...

5 months ago | 0

Answered
Calculate steady state of a system of non-linear odes
Hi, I understand that you need to find the steady state of a system of nonlinear ODEs. You can use MATLAB's 'fsolve' function,...

5 months ago | 0

Load more