Community Profile

photo

Kartik Saxena


Last seen: 9 days ago Active since 2023

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

Statistics

  • 3 Month Streak
  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

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...

9 days 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...

9 days 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...

9 days 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'...

11 days 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...

2 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...

2 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...

2 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...

2 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...

2 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...

2 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...

2 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 ...

2 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...

2 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...

2 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...

2 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...

2 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...

2 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...

2 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 ...

2 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...

2 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...

2 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...

2 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...

3 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,...

3 months ago | 0

Answered
"Deep Learning Toolbox" products - NARX versus LSTM NN
Hi, The different behaviors you're observing between the NARX (Nonlinear AutoRegressive with eXogenous inputs) network and the ...

3 months ago | 0

Answered
How can I solve a general elliptic partial differential equation with Drichlet boundary conditions?
Hi, I understand that you want to solve a general elliptic partial differential equation with Drichlet boundary conditions. In...

3 months ago | 0

Answered
How can I breakdown a data matrix of say 40000 x 901 to specific nodes and seeds?
Hi, To represent different locations on an object in MATLAB using nodes and seeds in x, y, and z directions, you'll need to def...

3 months ago | 0

Answered
Does anyone have matlab code for 1D discrete nonlinear schrodinger equation like this?
Hi, I understand that you are trying to find a code reference for 1D discrete non-linear Schrödinger equation. You can refer t...

3 months ago | 0

Answered
Analog circuit optimisation to fit experimental data using Simulink
Hi, Fitting a Simulink model to experimental data can be done using the Simulink Design Optimization Toolbox. This toolbox allo...

3 months ago | 0

Answered
Tracking objects in point cloud with Kalman Filter
Hi, I understand that you want to use Kalman filter for tracking objects in point cloud. Refer to the following MathWorks docu...

3 months ago | 0

Load more