Community Profile

photo

Rahul Bhadani


Last seen: 14 days ago Active since 2015

Statistics

  • First Answer
  • Revival Level 1
  • Thankful Level 1

View badges

Content Feed

View by

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...

6 months ago | 1 answer | 0

1

answer

Question


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:...

7 months ago | 1 answer | 0

1

answer

Question


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: ...

7 months ago | 2 answers | 0

2

answers

Answered
How 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...

8 months 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...

8 months ago | 2 answers | 0

2

answers

Question


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...

1 year ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 2 answers | 0

2

answers

Question


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...

2 years ago | 1 answer | 0

1

answer

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

3 years ago | 0

Answered
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...

3 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 ...

4 years ago | 0 answers | 0

0

answers

Question


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...

4 years ago | 1 answer | 0

1

answer

Question


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...

5 years ago | 1 answer | 0

1

answer

Question


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 ...

5 years ago | 1 answer | 0

1

answer

Question


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...

5 years ago | 0 answers | 0

0

answers

Question


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>...

5 years ago | 0 answers | 0

0

answers

Question


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...

5 years ago | 1 answer | 1

1

answer

Question


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...

6 years ago | 0 answers | 0

0

answers

Question


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?

6 years ago | 1 answer | 0

1

answer

Question


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 ...

6 years ago | 0 answers | 0

0

answers