# Sriram Narayanan

### MathWorks

Professional Interests: Physical Modelling, Control Systems

**Statistics**

RANK**2 399**

of 242 497

REPUTATION**16**

CONTRIBUTIONS

**1** Question

**20** Answers

ANSWER ACCEPTANCE **
0.0%
**

VOTES RECEIVED**0**

RANK

of 16 995

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Why does my standalone application that calls SORTROWS not work on a machine that does not have MATLAB installed?

Hello Davide, As the article mentioned, the libraries might need to be placed in the same directory as the executable or in t...

mer än 3 år ago | 0

margin command on a system with transfer function on reference

It depends on what you are using the Transfer Function H for. H would typically be used as a prefilter or for feedforward contro...

ungefär 6 år ago | 0

| accepted

EXTERNAL MODE ON TI C2000

This warning is thrown by the target when Simulink downloads the signals that must be logged. There are a few reasons why this ...

mer än 6 år ago | 0

| accepted

setting Simulink data view tolerance progamatically

It is currently not possible to tune the signal comparison tolerance programmatically. However, one could specify the absolute a...

mer än 6 år ago | 0

| accepted

How can I plot 3D contour plot for (x, y, z) Cartesian grid with values at each cell?

Since you have values at points (x,y,z) in space, you could use the 3-D interpolation function "interp3" to interpolate between ...

mer än 6 år ago | 0

Seeing objects far away in 3D Simulation using the VR World in Matlab

You could add a viewpoint to the objects that are further away and then switch viewpoints based on what you are trying to visual...

mer än 6 år ago | 0

How can I remove a field (or object) using 3D World Editor?

Hi Jeroen Zegers, The steering wheel and the four frames are for navigating to the viewpoint "Driver's View - Car1". You can ...

mer än 6 år ago | 0

Bluetooth connection between Lego Mindstorms NXT and MATLAB

MAC OSX Mountain Lion 10.8 is fully supported with MATLAB starting release R2012b. Since you are facing issues with communic...

mer än 6 år ago | 0

help on discrete time control system

The control law would purely depend on the desired closed-loop system behavior. Can you be more descriptive about what you mean ...

mer än 6 år ago | 0

Implementing a Checksum algorithm as Embedded Matlab Function

I simplified your code to not include the condition for negative torque (which could be implemented using Simulink blocks) and I...

mer än 6 år ago | 0

How to define the transfer function with exp

It is not possible to specify an exponential delay in the transfer function other than the form exp(-M*s) when using the laplace...

mer än 6 år ago | 0

How to use Simulink to gain the oscillation frequency of RLC circuit?

It is not very clear when you mentioned "How I use Simulink to gain the oscillation frequency"? Can you please explain more abou...

mer än 6 år ago | 0

Implementing an energy storage system for an electric propulsion system

The usage of the Voltage-Current Simscape interface is fine. One potential issue could be that the Voltage-Current Simscape inte...

mer än 6 år ago | 0

What compiler works with this, Create Visual C/C++ Solution File for the Embedded Coder

If you want to generate code for an ERT target for creating a Visual C/C++ Solution File for Embedded Coder, you need to have Vi...

mer än 6 år ago | 0

How to decide time step of a Simulink model contains different sub-models with different time step

I understand that you would like to decide the time step of a Simulink model that references multiple models running at differen...

mer än 6 år ago | 0

Simulink: Can 2D selector block return a whole column if there is only 1 column?

I am assuming that you are using MATLAB 8.5 (R2015a). On R2015a, I used the selector with your settings on a new model and I was...

mer än 6 år ago | 0

Is it possible to force Simulink to search for library blocks outside of the MATLAB path?

I understand that you would like to see an option to add a temporary virtual path on top of the MATLAB path that will contain co...

mer än 6 år ago | 0

| accepted

Is it possible to reverse the operation, i.e., convert the mechanical force to the pressure and flow rate of the fluid using SimHydraulics 1.11 (R2012b)?

Hi Peter, The article has been updated. Please find the attachment linked to the article. Thanks, Sriram

mer än 6 år ago | 0

How can I create a variable resistor for use in SimPowerSystems?

Please right-click the attachment and select "Save Link As" and then you should be able to save the attachment and open the mode...

mer än 6 år ago | 0

How do I generate a pulse train which starts at the origin using functions in the Signal Processing Toolbox 6.10 (R2008b) ?

Please note that the above pulse is in fact in discrete-form as you can infer from the time vector "t" which is sampled at 100 h...

ungefär 7 år ago | 0

Question

How do I modify function return type in the generated code?

I want to specify the function return datatype for generated code of a function call subsystem to be of type uint8 instead of v...

mer än 8 år ago | 1 answer | 0