Community Profile # krishna teja

Last seen: 6 days ago Active since 2019

#### Statistics

All
• • • • • • • #### Content Feed

View by

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

9 months ago | 0

Submitted

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

1 year ago | 0 answers | 0

### 0

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

1 year ago | 1 answer | 0

### 1

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

1 year ago

Solved

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

1 year ago

Solved

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

1 year 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,....

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

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

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

1 year 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:...

1 year ago

How can I avoid transferring all the workspace variables to the workers when using 'parsim'?
here is complete solution which worked well for me This is not restricted to parsim but in general to transfer variables to wor...

2 years ago | 0

Question

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

2 years ago | 0 answers | 1

### 0

Submitted

slider crank mechanism
This is a simple implementation of slider-crank mechanism in simscape multibody 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...

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 1

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

2 years ago | 0

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

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 0

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); % ...

2 years ago | 2

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

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

2 years ago | 1 answer | 0