photo

krishna teja


Last seen: 7 months ago Active since 2019

Followers: 0   Following: 0

Statistics

All
  • 5-Star Galaxy Level 1
  • Personal Best Downloads Level 1
  • Solver
  • First Submission
  • Explorer
  • First Review
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Solved


Reindex a vector
You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX has integers. Place th...

12 months ago

Solved


Determine whether a given point is inside or outside a polygon
A closed polygon may be described by an N x 2 array of nodes, where the last node and the first node are the same. Each row of t...

12 months ago

Submitted


Animate audio recording in realtime
Animate audio recording in realtime

2 years ago | 1 download |

Thumbnail

Answered
Convert a list x y coordinates to lat long
local2latlon should help ...

3 years ago | 0

Submitted


Swinging pendulums
.

3 years ago | 1 download |

Thumbnail

Question


matlab parpool too slow to open
Hi Why does parpool take so long to open, especially on windows? On linux it opens fast within a minute, but in windows 10 it t...

3 years ago | 0 answers | 0

0

answers

Question


How to set run-time parameter for all simscape(/multibody) blocks in a file?
I just realised, by default all simscape (/multibody) blocks' parameters are compile time meaning any changes to any of the bloc...

4 years ago | 1 answer | 0

1

answer

Solved


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

4 years ago

Solved


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

4 years ago

Solved


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

4 years ago

Solved


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

4 years ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

4 years ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

4 years ago

Solved


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

4 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago

Question


pass non-numeric data to simulink
i want to evaluate a dlnetwork object in simulink. output of dlnetwork (type casted to double) will drive other blocks i have u...

4 years ago | 0 answers | 1

0

answers

Submitted


slider crank mechanism
This is a simple implementation of slider-crank mechanism in simscape multibody

4 years ago | 17 downloads |

Thumbnail

Answered
Simulation of a rolling wheel on a flat surface using SimMechanics contact forces library block
hi, i have faced this issue before and approximated using sphere to plane contact (from Mr Steve Miller's contact force library...

4 years ago | 0

Answered
Multiple 2D plot in 1 3D plot
use waterfall command example Nactions = 5; Ntime = 5; x = (1:Nactions); % actions y = (1:Ntime); % time [X,Y] = meshgrid(...

4 years ago | 2

Answered
Multiple 2-D area plots in a 3-D graph
use watefall command it does exactly same as what you want Nactions = 5; Ntime = 5; x = (1:Nactions); % actions y = (1:Nt...

4 years ago | 2

Answered
Plotting Multiple Graphs in a 3D form
use waterfall command. customisations available for it

4 years ago | 0

Answered
One-Step a Simulink Simulation from the MATLAB command line
check this Save and Restore Simulation Operating Point

4 years ago | 0

Question


how to use GPU for actor and critic while env simulation happens on multiple cores for RL training
hi i am new to GPU computing. i am using reinforcement learning toolbox - particularly rlACAgent training happens normally on...

4 years ago | 1 answer | 0

1

answer

Answered
Reinforcement Learning - How to use a 'trained policy' as a 'controller' block in SIMULINK
hi use reshape block to set observation vector to column vector before feeding to matlab interpreter block

5 years ago | 0

Answered
How to solve this equation with ode45?
yes, you are right, you should split equations function dydt = ode45fcn(t,y) p = 2.67; a = 0.25; ag = 0.5*sin(4*pi*t); % ...

5 years ago | 2

Answered
Transfer function G(s) with plot or data
hi you could use np = 2; % number of poles nz = 1; % number of zeros exp_data = readmatrix('data.csv'); %read data u = exp...

5 years ago | 1

Question


how to import fmu from AMESim to Simulink?
can anybody help in import in FMUs (functional mockup units) from AMESim to Simulink? i created a simple fmu interface in AMESi...

5 years ago | 1 answer | 0

1

answer