krishna teja
Followers: 0 Following: 0
Statistics
RANK
3,521
of 295,638
REPUTATION
15
CONTRIBUTIONS
5 Questions
10 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
8
RANK
9,245 of 20,255
REPUTATION
76
AVERAGE RATING
5.00
CONTRIBUTIONS
3 Files
DOWNLOADS
19
ALL TIME DOWNLOADS
646
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
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...
1 year 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...
1 year ago
Submitted
Animate audio recording in realtime
Animate audio recording in realtime
2 years ago | 1 download |
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...
4 years ago | 0 answers | 0
0
answersQuestion
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
answerSolved
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₁_ and _x₂_ 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
answersSubmitted
slider crank mechanism
This is a simple implementation of slider-crank mechanism in simscape multibody
4 years ago | 17 downloads |
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
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
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
Plotting Multiple Graphs in a 3D form
use waterfall command. customisations available for it
4 years ago | 0
Run one step of a simulink model, switch to an m-file, calculate, switch back to the model, run model with new calculated data. (Step wise Simulink execution)
check this Save and Restore Simulation Operating Point
4 years ago | 0
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
answerReinforcement 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
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
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