Community Profile

photo

Chirag Gupta


Mathworks

190 total contributions since 2009

Contact

Chirag Gupta's Badges

Contributions in
View by

Submitted


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

3 months ago | 6 downloads |

Thumbnail

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

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

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

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

2 years ago | 1

Submitted


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

2 years ago | 46 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 ...

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

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

5 years ago

Solved


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

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

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

5 years ago

Solved


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

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

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

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

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

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

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

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

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

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

5 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

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

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

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

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

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

5 years ago | 0

Answered
Analog Outputs stops (without reason) ?!
Looking at the documentation, it states that all the data must be queued using putdata before starting the analogoutput object. ...

5 years ago | 0

Answered
Analog Outputs stops (without reason) ?!
Can you post bit of the code? Also are you using the new Session based interface (R2011b) or the legacy interface ? Session B...

5 years ago | 0

Load more