krishna teja
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
Solve a System of Linear Equations
*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...
대략 4년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
질문
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년 초과 전 | 답변 수: 0 | 1
0
답변제출됨
slider crank mechanism
This is a simple implementation of slider-crank mechanism in simscape multibody
4년 초과 전 | 다운로드 수: 17 |
답변 있음
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...
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년 초과 전 | 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(...
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년 초과 전 | 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...
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년 초과 전 | 2
답변 있음
Plotting Multiple Graphs in a 3D form
use waterfall command. customisations available for it
Plotting Multiple Graphs in a 3D form
use waterfall command. customisations available for it
4년 초과 전 | 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
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년 초과 전 | 0
답변 있음
One-Step a Simulink Simulation from the MATLAB command line
check this Save and Restore Simulation Operating Point
One-Step a Simulink Simulation from the MATLAB command line
check this Save and Restore Simulation Operating Point
4년 초과 전 | 0
질문
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년 초과 전 | 답변 수: 1 | 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
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년 전 | 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); % ...
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년 전 | 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...
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년 전 | 1
질문
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년 전 | 답변 수: 1 | 0