photo

Chirag Gupta

Last seen: 2 months ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 3
  • First Submission
  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer
  • Solver

View badges

Feeds

View by

Solved


Cricket - Sort Batters by Distance Run
Given a string vector of batters' names, a vector of the total number of runs they scored, a vector of the number of 4s they sco...

2 years ago

Answered
how to create 3 link robot using robotic toolbox
Try this: L1 = link([0 1 0 0],'standard') L2 = link([0 1 0 0],'standard') L3 = link([0 1 0 0],'standard') r = robo...

7 years ago | 0

| accepted

Submitted


Simulink Library for MiniQ Robot
A library of blocks to get started with MiniQ 2WD/4WD robots

8 years ago | 1 download |

Thumbnail

Answered
Using Boost Libraries with Mex function in MATLAB
Another solution might be to create your mex files directly from Visual Studio:

9 years ago | 0

Answered
Using matlabinit in Excel VBA
Check this: <http://www.mathworks.com/help/exlink/functionlist.html Working with Spreadsheet and VBA> You just need to add...

9 years ago | 0

| accepted

Answered
storing arduino serial data to cell array
Have you taken a look at the Serial_Monitor? Might solve your issue http://www.mathworks.com/matlabcentral/fileexchange/45839-s...

10 years ago | 1

Answered
Running a specific m-file/fig from excel
There are lots of options: You should look at MATLAB as a COM Automation Server. You should be able to start MATLAB from V...

10 years ago | 1

Submitted


Simulink Library for Zumo Robot
A library of blocks to get started with the Zumo Robot

10 years ago | 6 downloads |

Thumbnail

Answered
How can I communicate with an Arduino MegaADK using MATLAB R2007b?
If the above package doesn't work then: have you tried using a serial object. Typically arduino connected to the PC with USB ...

12 years ago | 0

Answered
deploytool
You need to have a java SDK installed. If you already have a JAVA SDK installed, you should check the JAVA_HOME environment vari...

12 years ago | 0

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

13 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

13 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

13 years ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

13 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

13 years ago

Solved


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

13 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

13 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

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

13 years ago

Answered
bluetooth communication in matlab
bluetooth is supported in the Instrument Control Toolbox form R2011b. You can also try and connect it as a serial port (if the...

13 years ago | 0

| accepted

Answered
standalone executable opens with warning for missing directory paths
This is possible because the matlabrc file on the machine where the executable was compiled might have modified settings (or a c...

13 years ago | 0

| accepted

Answered
How to control/interface Windows media player with MATLAB?
You can take a look at the Windows Media Player Object Model here: <http://msdn.microsoft.com/en-us/library/windows/desktop/dd5...

13 years ago | 1

Answered
USB interfere to MATLAB
With MATLAB R2011b, using the Instrument Control Toolbox, you can directly interface with bluetooth devices [SPP profile] (like ...

13 years ago | 0

Answered
speech signal from Microphone USB
Try this: <http://www.mathworks.com/help/techdoc/ref/audiorecorder.html>. If you want to record analog data from your soundcard...

13 years ago | 0

Answered
how to use SQLServer/JDBC from compiled Matlab code?
Try and use the javaaddpath command in the code to set up the javapath instead of classpath.txt

13 years ago | 0

Answered
Triggering with a DAQ board--how do I pull data out of startBackground and tell MATLAB to take a few more samples?
This may be of help! I proposed 3 different methods, chose whats best in your case: <http://www.mathworks.com/matlabcentral/ans...

13 years ago | 0

| accepted

Answered
Calling an object's method that changes its property not doing what I want.
This would stem from the difference between Value classes and handle classes. Its explained here: <http://www.mathworks.com/he...

13 years ago | 1

| accepted

Answered
Returning status of operation using mex
mex functions can return outputs: void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]); The n...

13 years ago | 0

Answered
how to set preference to arduino ide, what file exactly is it?
Dan, I would suggest using arduino-023 or arduino-022. Arduino-1.0 has significant changes as compared to the previous versions ...

13 years ago | 0

| accepted

Answered
how to set preference to arduino ide, what file exactly is it?
The release before arduino-1.0 was arduino-023 (and before that was arduino-022) Just set the arduino root folder (under whic...

13 years ago | 0

Load more