Community Profile

photo

Amrtanshu Raj

MathWorks

Last seen: Today Active since 2020

I am Application Support Engineer at Mathworks.
My major area of interest is Robotics, Automation, Autonomous Driving and Image Processing.
Disclaimer: Any articles /ideas/opinions here are my own and in no way reflect that of Mathworks.

Statistics

  • Revival Level 3
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
How can I limit the output current of diesel generator?
Hi, The Synchronous Machine pu Standard is from the specialized power systems library and the Current Limiter is from simscape....

26 días ago | 0

Answered
ros receive at the same time
Hi, Currently there is no direct way to call multiple subscribers at once. However you can try using the callback methods to re...

26 días ago | 0

Answered
Motion charasteristics of mecanum wheel
Hi, Currently, there is no direct support to model mecanum wheel drive In MATLAB. We do not have a motion model or waypoint fol...

27 días ago | 0

Answered
interface Simulink model and program
Hi, You can put your code(another program) in a matlab function block with the input and outputs as per your need. This will br...

alrededor de 1 mes ago | 0

Answered
download data from https
Hi, As mentioned in the documentation. The Forbidden error is shown when Client does not have the correct credentials to make a...

alrededor de 1 mes ago | 0

Answered
Two PWM different duty cyle
Hi, You can get the desired output by using a pwm block in simulink and switch the input to it with a switch block. An example...

alrededor de 1 mes ago | 0

Answered
Multimodal Integration of M/EEG and f/MRI Data in SPM12
Hi, Your syntax for in the line 4 is incorrect. The correct syntax can be found here. Assuming in your case if sub is the func...

alrededor de 1 mes ago | 0

Answered
Simulink profile data to save
Hi, As mentioned in the documentation. You can use the share feature available on the toolstrip to export your profile data. H...

alrededor de 1 mes ago | 0

Answered
How can I select only the points used for an RRT path?
Hi, The first 1 : pathCount - 1 vertices correspond to the final path. You can return them as another variable. Also there is ...

alrededor de 1 mes ago | 0

| accepted

Answered
How to design PWPF in Simulink
Hi, You can use the switch block to get the functionality. You can change the condition to =30 and that would get the desired r...

2 meses ago | 0

Answered
Data modeling and visualizing in matlab
Hi, You can find all the functions supported by MATLAB related to graphics here. Hope this helps.

3 meses ago | 0

Answered
charging station electrical system modelling
Hi, You can use check this documentation which shows modelling of charger in Simulink and Simscape Electrical. Also refer to ad...

3 meses ago | 0

Answered
2d projecti basic; It is not letting me plot x,y,t and the input was working now it only takes inital velocity
Hi, I have updated the code and it is working now. You should also note that you are plotting y vs x and not position vs time....

3 meses ago | 0

Answered
How to create a RLC Circuit using Simulink?
Hi, You can check this documentation. This Implements a RC circuit in Simulink and then measures voltage across the capacitor, ...

3 meses ago | 0

Answered
Is it possible to control/read Arduino pins at different frequencies?
Hi, Parallel computation or multithreading is not supported by Arduino so flashing the LED and reading the Photo Resistor at di...

3 meses ago | 0

| accepted

Answered
How to convert a macro model (.mod) to Simscape block?
Hi, I was able to get the conversion using the command. subcircuit2ssc('TSV99x_macromode.mod','+mylibrary'); You can refer to...

3 meses ago | 0

Answered
Acceleration measurement simscape mechanics
Hi, By default the rotational and translational position sensor provide only angular/translational position and velocity. You c...

3 meses ago | 0

Answered
two phase FEM parametrized motor
Hi, You can use a FEM-Parameterized Rotary Actuator block to implement the 2 phase motor. You can pass the values for torque an...

3 meses ago | 0

Answered
How can I animate a robot CAD model corresponding to my MATLAB code?
Hi, You can use Simulink 3D Animation to animate your robot arm. You can find relevant functions here to load your robot. You ...

3 meses ago | 0

| accepted

Answered
Implement three-phase delta connection to Induction Motor
Hi, There is no direct block to implement 3 phase delta source in Simscape. However, you can find here a method here to implem...

3 meses ago | 0

Answered
Four coupled inductors in Simscape.
Hi, There is no direct model for Four-Winding coupled inductor in Simscape. However, you can use the custom block in Simcape a...

3 meses ago | 0

Answered
Loading a occupancy grid into a function block in simulink
Hi, You can refer to this documentation for implementation of Occupancy map in Simulink(check the planning block). Here a bina...

3 meses ago | 0

Answered
I want to use a comparator to compare a sine wave and a triangle wave in simscape. I can't get the components to connect.
Hi, You need to use a controlled voltage source block to convert a physical signal to a Electrical Signal. I have attached a s...

3 meses ago | 0

Answered
How can I control a pneumatic robot with Arduino and Matlab?
Hi, There is no direct way to control a pneumatic value or actuator directly from matlab. However you can build your logic usin...

3 meses ago | 0

Answered
Help in simulating Alternator Tests in determining the synchronous impedance of an alternator
Hi, You can model a synchronous alternator using Simscape in Simulink. Here is the a example which will give you a basic idea. ...

3 meses ago | 0

Answered
How to prevent Simulink Pacer from resetting ROS time?
Hi, So the objective of the Gazebo Cosim feature is to design your logic in Simulink and the use Gazebo as a physics engine to ...

3 meses ago | 0

Answered
How to generate 3D Trajectory Heatmap?
Hi, You can achieve the required workflow using occupancyMap3D. You can initialize the map initially with cell size as per your...

3 meses ago | 0

Answered
webread won't read everything
Hi, The data on this webpage is dynamically generated using javascript and not static data as mentioned in the examples. Thus s...

3 meses ago | 1

| accepted

Answered
Using findpeaks collapses the size of my array, how do i stop this happening?
Hi, Based on your requirement, this snippet should solve your problem. [peaks,locations] = findpeaks(spectrum); %find the peak...

3 meses ago | 0

Answered
Read values from jpg images
Hi, The easiest way to read out the value will be using OCR. You can use it to read the values from the chart and then plot the...

3 meses ago | 0

Load more