Community Profile

# krishna teja

Last seen: 7 dagen ago Active since 2019

All

#### Content Feed

View by

Submitted

Animate audio recording in realtime
Animate audio recording in realtime

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

meer dan een jaar 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...

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

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

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

ongeveer 2 jaar 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;...

ongeveer 2 jaar 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,....

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

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

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

meer dan 2 jaar 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:...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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(...

bijna 3 jaar ago | 1

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

bijna 3 jaar ago | 1

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

bijna 3 jaar ago | 0

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

bijna 3 jaar 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...

bijna 3 jaar 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

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

ongeveer 3 jaar 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...

ongeveer 3 jaar 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...

ongeveer 3 jaar ago | 1 answer | 0