photo

Anurag Ojha


Last seen: Today Active since 2023

Followers: 0   Following: 0

Message

Spoken Languages:
English
Pronouns:
He/him

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
How do implement the separation variable method of heat equation?
Hey Deck The provided code is a finite difference method (explicit forward-time, centered-space) for solving the one-dimension...

ongeveer 2 maanden ago | 0

Answered
Colour representation of three matrices entities (SOLID, rho1 and rho2)
Hey To represent the three parameters (SOLID, rho1, and rho2) with distinct colors in the same domain, you can combine them in...

ongeveer 2 maanden ago | 0

Answered
Function, tablelookup, is wrong
Hey This commonly occurs when the input variables in the lookup table (i.e., SOC and T) do not have compatible units with the ...

ongeveer 2 maanden ago | 0

Answered
Gaussian Psychometric function - Prepare data
Hey To fit a psychometric Gaussian function to your data while considering the additional conditions (z2 and z3), your approac...

ongeveer 2 maanden ago | 0

Answered
How to propagate a signal in time and space using Simulink
Hey Spencer To propagate a signal in time and space using Simulink, you can create a custom Simulink model that includes a func...

ongeveer 2 maanden ago | 0

Answered
class 'Simulink.​metamodel.​arplatform​.port.DataSenderPort' " while bulilding an Autosar Model
Hi Linyan I recently came across a discussion on MATLAB Answers that addresses a similar issue. The response provided by MathW...

3 maanden ago | 0

Answered
Need help in learning about adaptive autosar
Hello Neha I recently went through the following documentation, which is a good starting point. I have added the documentation...

3 maanden ago | 0

| accepted

Answered
Time series properties error
Hey The error you're encountering occurs because the synchronize function is expecting input tables or timetables, but the Qua...

3 maanden ago | 0

Answered
How to generate a single pulse sine wave
Hi Nupur To generate a single pulse sine wave with the given specifications, you can refer to following MATLAB code: % Defin...

3 maanden ago | 0

| accepted

Answered
How to get the name of the view in Simulink Data Inspector programmatically
Hey As per my understanding your query is once we have saved a view how to load it progamitacally. To do so you can use 'Simul...

3 maanden ago | 0

Answered
How to export Data cursors info from simulink data inspector to workspace
Hi Eli You can use 'Simulink.sdi.getCursorPositions' function to export data cursor from information from Simulink Data Inspec...

3 maanden ago | 0

Answered
Autosar packages for autocode
Hey Jose At bare minimum you'll need AUTOSAR Blockset, Simulink Coder, and Embedded Coder. The other toolboxes are optional but...

3 maanden ago | 0

Answered
Need help to compare output of a simuink model
Hey Steven In order to compare the results you can use compare tab in the "Data inspector". It helps you compare two different ...

3 maanden ago | 0

| accepted

Answered
Solving trigonometric simultaneous equations
Hello Jupin Yes, MATLAB is capable of solving complex equations, including inverse kinematics problems. MATLAB provides powerf...

3 maanden ago | 0

Answered
Rte Explicit Read inside if condition
Hey The issue arises because when using 'ExplicitReceive' mode, Simulink automatically buffers the data to ensure simulation a...

3 maanden ago | 0

Answered
How to use S-Function in C.
Hey Park Adding few MATLAB documentations which will be a good starting point for using S-Function in C/C++ https://www.math...

3 maanden ago | 0

Answered
Using C-file in S-function
Hi Jitendra You can refer to following MATLAB documentations to integrate C or C++ code to create S-functions https://www.mat...

3 maanden ago | 0

Answered
How can I creat a "for" that builds more than one matrix?
Hi Santos The "()-indexing must appear last in an index expression," occurs because MATLAB does not support indexing with pare...

3 maanden ago | 0

Answered
How to create variable size buffers in Simulimk?
Hey Vaibhavee In order to create a variable size buffers in simulink. You can use MATLAB Function block. MATLAB Function blocks...

3 maanden ago | 0

Answered
how to create Buffer with simulink blocks?
Hi Venu You can use "Tapped Delay block". You can find this block in the Simulink Library Browser under: Simulink -> Discrete ...

3 maanden ago | 0

Answered
How to define a path of vehicle
Hey Alexandr Kindly go through the MATLAB code below that defines a path of vehicle in path-length coordinate.I have take certa...

3 maanden ago | 0

Answered
Galerkin method fix the linear two-point BVP
Hey Cheng Kindly find the code below to use the Galerkin method with hat functions to solve the given boundary value problem (...

3 maanden ago | 0

Answered
Convert pulse to digital
Hey Joe In order to convert a pulse that varies in frequency over time into a digital representation, you can use a combination...

3 maanden ago | 0

Answered
How can I plot the waves produced from a piston type wave-maker?
Hey Marilli You can approach this problem using the linear wave theory. I have taken certain assumptions for programming a pis...

3 maanden ago | 0

Answered
need help with the collocation method
Hi Lisa For collocation method, kindly refer to the below code. I have taken certain assumptions like Second-Order Differenti...

3 maanden ago | 1

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

5 maanden ago | 0

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

5 maanden ago | 3

| accepted

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

5 maanden ago | 0

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

5 maanden ago | 0

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

5 maanden ago | 0

| accepted

Load more