Community Profile

Sandip Kumar

MathWorks

54 total contributions since 2012

Professional Interests: robotics, controls, system identification, optimization

Sandip Kumar's Badges

View details...

Contributions in
View by

Answered
How can I convert a surface plot to an Occupancy map 3D?
Hi Subham Using the code from Surface plots and using it in occupancyMap3D can be done in this fashion. Define some surface ...

12 days ago | 0

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

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

Answered
How Do you have a file Hex for arduino?
When using the Simulink Support Package for Arduino: http://www.mathworks.com/hardware-support/arduino-simulink.html Using t...

6 years ago | 0

Answered
Problems with Simulink R2014b in Linux
Seems the model on Linux machine is corrupted, whereas the model on Mac is fine. Please copy the model from Mac into Linux and t...

6 years ago | 0

Answered
How can I create different fractions to guide the actions of a switch block? I want to route 25%, 45%,30% to servers A, B and C respectively.
Based on the information you gave it certainly seems like a event based simulation, and MathWorks offer another Simulink based l...

6 years ago | 0

Answered
Unknown Matlab Error #35
The #35 is a link to the line of code in the MATLAB Fcn Block. Furthermore, I think 'kalman' function is not supported for co...

6 years ago | 0

Answered
State space system gives different bode plot then transfer function matrix
The sys2 created is not the minimal realization of the system, and if you perform minimal realization you will get back the same...

6 years ago | 1

| accepted

Answered
Why can't my target computer find any accessbile disk drive?
This will occur if the Simulink Real-Time kernel cannot detect the partition created by a third part program. The documentation ...

6 years ago | 0

Answered
How can I low-pass filter a high sample rate signal and output the signal at a lower rate in real time?
Ideally you want to create a low-pass filter with phase delay minimization, and then downsample the signal. For "low-pass fil...

6 years ago | 0

Answered
Microsoft Kinect V2 with Matlab
The Image Acquisition Toolbox does not support Microsoft Kinect V2 as of release R2014b. You will have to continue working with ...

6 years ago | 0

| accepted

Answered
error LNK2019: unresolved external symbol in Matlab code compilation
This looks like a custom made BAT file, which is compiling and building the generated code. Correct me if wrong? The symbols ...

6 years ago | 0

Answered
How to store the simulink run/stop status in matlab work space?
In order to get the status of the model, use the following command: get_param(<modelName>, 'SimulationStatus') More info...

6 years ago | 0

Answered
Why doesn't referenced model have proper tcl files?
Model reference, with S-functions have limitations and in Accelerator mode need to take care of few things in the S-function. Th...

6 years ago | 0

Answered
Can I use Phasor simulation mode to simulate power systems with frequency dynamics?
Phasor simulation is meant to provide analysis of electro-mechanical oscillations of power systems at just one frequency. The do...

6 years ago | 3

| accepted

Answered
Simulink profiler timing problem
First time when you run a model in Accelerator mode, and have profiler on, the report also includes the build of the model into ...

6 years ago | 0

Answered
Dynamically Sized S-function Builder Inputs
Yes the documentation is correct, in specifying that the dimension of the input can be dynamically sized. I quickly played with ...

6 years ago | 0

| accepted

Answered
How to control a Release Gate with data computed in another Subsystem?
Based on the example model you had, I have modified the model to incorporate a 'Data Store Read' block, to read the Matrix (whic...

6 years ago | 0

| accepted

Answered
Windows Real-Time Target - Serious Lag
This is something not expected. One possible cause for the slow performance would be the 'CPU Power Management' options in BIOS,...

6 years ago | 0

Answered
Can I use HDL Verifier cosimulation blocks in a Simulink model with continuous states?
During HDL co-simulation using HDL Verifier, the generated HDL code is being tested. The HDL code generation step requires Fixed...

6 years ago | 0

Answered
Can I plot a subset (reduced frequency range) of S-parameters?
You can use the 'plot' command and use the condition, value pair to define a range of frequency: http://www.mathworks.com/hel...

6 years ago | 0

Answered
customize Simulink Scope - default settings set
This functionality is not available in latest release of MATLAB R2014b. There are couple of workarounds I can think of: * You...

6 years ago | 0

| accepted

Answered
Using set_param to change parameter DataTypes in Packet Input block does not work.
In order to specify the DataTypes, try using ''double'' instead of 'double'. Thanks, Sandip, MathWorks

6 years ago | 0

| accepted

Answered
How can I control power using current in DC/DC converter.
SimElectronics has a DC-DC Converter block: http://www.mathworks.com/help/releases/R2014b/physmod/elec/ref/dcdcconverter.html...

6 years ago | 0

Answered
FatalException Error when opening Simulink
You should try disabling any security software that may be running on your machine, and attempt to launch MATLAB as an administr...

6 years ago | 0

Answered
Example for DSP F28335
There is a example which is using F28335 in Simulink: http://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/examples...

6 years ago | 0

Answered
Report Generator: how to add a line break in Paragraph or Text
When you incorporate a 'text' field, documentation below: http://www.mathworks.com/help/rptgen/ug/text.html There is an opti...

6 years ago | 0

Answered
Is there a way to get the source code for functions in communication system toolbox?
You can always look at the source code of the MATLAB functions which are shipped, for e.g., all the functions on the following l...

6 years ago | 0

| accepted

Answered
recover time history from power spectral data...
The mapping from Power Spectrum back to time history is not unique. By definition, power spectrum has no phase information in th...

6 years ago | 1

| accepted

Load more