# Rahul Bhadani

**Statistics**

RANK**13,048**

of 287,832

REPUTATION**3**

CONTRIBUTIONS

**17** Questions

**3** Answers

ANSWER ACCEPTANCE **
23.53%
**

VOTES RECEIVED**3**

RANK

of 19,432

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 141,711

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

How to resolve indexing the sliced variable error in the case of for nested with parfor?

I have following use case: Nth = 102; p = 0.0000001:0.1:0.99999; NthArray = (Nth - 100 > 0)*Nth + (Nth - 100 <=0)*1:1:Nth+1...

3 years ago | 2 answers | 0

### 2

answersQuestion

How to create a surface plot of a function that uses colon operators?

I have a following function: function p = dist(n, theta, M, Ns, Nb, G, kappa) Ntheta = 55; logterm1 = sum( log(1:...

3 years ago | 0 answers | 0

### 0

answersQuestion

How can specify interval of variables in fsurf?

I am following the documentation for fsurf: https://www.mathworks.com/help/matlab/ref/fsurf.html There, I see an example: ...

3 years ago | 2 answers | 0

### 2

answersHow to skip last n rows while reading a csv file using readtable?

I was overthinking. It is very simple to do actually. T= readtable(csvfile,'PreserveVariableNames',true); n_skip = 5; T = T...

3 years ago | 0

| accepted

Question

How to skip last n rows while reading a csv file using readtable?

I have a csv file that I want to read as table in MATLAB using readtable command. However, I know that last few lines are corrup...

3 years ago | 2 answers | 0

### 2

answersQuestion

How to use Global Search using fmincon with constraints and bounds?

I am trying to do Global search with fmincon as follows after following the tutorial https://www.mathworks.com/help/gads/example...

3 years ago | 1 answer | 1

### 1

answerQuestion

How to convert Block parameter to input port?

Hi, I have a specific question about Simulink. Is it possible to convert a mask parameter to an input port? For example, take s...

4 years ago | 2 answers | 0

### 2

answersQuestion

How can I use ROS Get Parameter block to set a simulink model workspace variable ?

ROS Get Parameter block retreives ROS parameter values. I want to set a simulink model workspace variable used in a masked subs...

4 years ago | 1 answer | 0

### 1

answerMatlab R2017b with Ubuntu 17.10

I am having this same problem with Ubuntu 18.04LTs and R2018a. Does anybody know how to resolve this?

5 years ago | 0

Simulink RaspberryPi3 ROS Kinetic Ubuntu Mate crash when build model

Hi, I had exactly the same issue. Apparently, the solution is to run catkin_make on only one core. In your environment variab...

5 years ago | 0

Question

how to solve error saying 'File "<stdio.h>" does not exist' while generating C++ code from simulink having function block that usages abs or real functions?

I have a Simulink model that contains a matlab function block. This function block usage functions such abs() and real(). While ...

7 years ago | 0 answers | 1

### 0

answersQuestion

Problem generating C++ code from simulink for standalone ROS node. How to solve the problem of Could not find information file: /home/jane/Documents/slprj/ert/HoffManSubSystem2/tmwinternal/binfo.mat ?

Hi, I have a simulink model that is using blocks from Robotics Operating System Toolbox. I am trying to generate the C++ c...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to publish a ros message of type dynamic_reconfigure/Config on ros publisher using simulink block in robotics system toolbox?

dynamic_reconfigure/Config message type is a complex message type with following signature: Raw Message Definition BoolPa...

8 years ago | 1 answer | 0

### 1

answerQuestion

Set Parameter Block from Robotics System Toolbox doesn't change parameters in Gazebo. How should I make it work?

Hi, I have an empty world loaded into gazebo from roslaunch as follows: roslaunch myrobot myrobot_empty.world which loads ...

8 years ago | 1 answer | 0

### 1

answerQuestion

No such slros_initialize.h: No such file or directory while generating C++ code fro simulink coder

I was trying to generate code from simulink block using simulink coder. I did following and it generated the code but while comp...

8 years ago | 0 answers | 0

### 0

answersQuestion

Error on generating Code from Simulink block for Robotics System TOolbox

I have following Simulink block: <</matlabcentral/answers/uploaded_files/48730/Screenshot%20from%202016-03-29%2012:36:08.png>...

8 years ago | 0 answers | 0

### 0

answersQuestion

How to check if global ROS node is already running in MATLAB?

Hi, I am using Robotics Toolbox to interface MATLAB and ROS. Before doing rosinit('http://192.68.0.43:11311') i want to chec...

8 years ago | 1 answer | 1

### 1

answerQuestion

How can I store a table as time series in which particular column of table has a an array as entry?

I want to create a timeseries from the data I have recorded from some sensors. Data is in the form of table with several columns...

8 years ago | 0 answers | 0

### 0

answersQuestion

What is Matlab equivalent of C++ ros::Duration() ?

The way we call ros::Duration in C++, I need to call in Matlab. What its equivalent expression in MATLAB?

8 years ago | 1 answer | 0

### 1

answerQuestion

How to convert Digital Elevation Model ( DEM) of a particular place into (x, y, z) coordinates in MATLAB?

How to convert Digital Elevation Model ( DEM) of a particular place into (x, y, z) coordinates in MATLAB so that I can generate ...

8 years ago | 0 answers | 0