# Dasharath Gulvady

### MathWorks

I am a Software Engineer at The MathWorks. I like to code in Java, JavaScript and MATLAB.

My interests are Machine Learning and Big Data.

Professional Interests: MATLAB

**Statistics**

RANK**867**

of 244,217

REPUTATION**60**

CONTRIBUTIONS

**0** Questions

**42** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**11**

RANK

of 17,072

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

Solved

Magic is simple (for beginners)

Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

2 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

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

6 years ago

How do I open a website in a browser, enter login data and get the resulting page content automatically?

If you are web service requires authentication, you can pass the username and password using weboptions with webwrite: http:/...

6 years ago | 0

How can I get a Hyperlink url ?

Didier, The function "urlread" returns a string containing the entire text of the webpage at the specified URL. You may then ...

6 years ago | 0

| accepted

Adding jars to matlab

Jason, You may achieve this by adding the JAR file only for compiled applications, which can be done using "isdeployed" as fo...

6 years ago | 0

| accepted

Problem with compiling mex with gcc-4.7

Bulat, The warnings might not be specific to MEX files, but may be related to the difference between C/C++ compilers in Windo...

6 years ago | 0

Intersection points between a line and trisurf plot

The below answer is probably what you are looking for: http://www.mathworks.com/matlabcentral/answers/74848-intersection-of-a...

6 years ago | 0

I'm extracting frames of selected events from an avi file (5 GB). The way I did it is saving all frames as images, creating avi after that. Worked with few events, more events now. Can I store frames in workspace (as array), then create avi?

I assume you are using "VideoWriter" to create an avi file from the images. I understand that you would like to not convert the ...

6 years ago | 0

What size recomendation for head node?

Does the head node support a minimum of 16,384 file file descriptors as mentioned in the documentation page of MDCS: http://w...

6 years ago | 0

| accepted

Sending Wireless UDP signals in Matlab

Before executing "udp", start the UDP echo server using "echoudp": http://www.mathworks.com/help/instrument/echoudp.html Y...

6 years ago | 0

How do I call a MATLAB Script using javascript?

* Make sure mainGUI is a MATLAB function and not just a script * Make sure mainGUI is in the current folder or MATLAB's search...

6 years ago | 0

can parfor in compiled code access a local worker pool?

It is definitely possible for a compiled MATLAB code to utilize profiles created using Parallel Computing Toolbox. The below doc...

6 years ago | 0

Java Error when using compiled matlab code (GUI) using the Instrument Control Toolbox

The below bug report looks relevant to your issue: http://www.mathworks.com/support/bugreports/search_results?utf8=%E2%9C%93&...

6 years ago | 0

Serial Communication in Maltab using Linux 64 Bit

The below answer may be relevant: http://www.mathworks.com/matlabcentral/answers/95024-why-is-my-serial-port-not-recognized-w...

6 years ago | 0

Mixing compiled matlab shared libraries with mex code.

The best way to do this is to place the MEX file in a relative path to "ctfroot": http://www.mathworks.com/help/compiler/ctfr...

6 years ago | 0

.Net c# sdk - MWStructArray.GetField(string fieldName) Rounding

As Steven has already mentioned, this may be because of the usage of "format" in MATLAB, which results in higher precision. In y...

6 years ago | 0

imresize not working on Matlab compiler runtime server

what is "imresizemex"? If it is a function, add is as one of the required files while creating the executable. [Edit] Try ...

6 years ago | 0

Using csaps (or similar) to create a 3D smoothing spline

You can do this using "csaps" function. However the trick is to make "z" your independent variable. [pp,p]=csaps(z,[x;y]); ...

6 years ago | 0

| accepted

Length of a 3D curve.

You have declared 's' inside "spacecurvelength" function. I am guessing it needs to be declared outside. >> syms s; >> c...

6 years ago | 0

How to put cell array in sprintf?

a={1,2,3,4,5}; sprintf('%d,%d,%d,%d,%d',a{:});

6 years ago | 1

What is the proper format string for float?

If you are looking for a way to round off the decimal values, see the below thread: http://stackoverflow.com/questions/421137...

6 years ago | 0

query and read the status from Com port

You have two "fprintf" calls in the code and one "fscanf". The "fscanf" will return the result of "ens". For "closed?" execute "...

6 years ago | 1

How can I load lots of files with a for loop and then multiply them by a vector

Assuming that all the MAT files have same data(let's say "mydata"): N=3 for i=1:N toLoad = sprintf('variable%d_dat...

6 years ago | 1

| accepted

Matlab NNU License with Concurrent Toolboxes

The licensing is independent of MATLAB release. You must be able to use NNU license in any release.

6 years ago | 0

Order of legends in stacked bar plot

You can use the first input argument to the "legend" command to specify the handle order. Here are two examples: figure su...

6 years ago | 4

How to write a matrix into Geotiff file?

According to the documentation R is: _spatialref.GeoRasterReference object, referencing matrix, or referencing vector; or spa...

6 years ago | 2

link .dll files with matlab

You can use "loadlibrary" function to load and use the functions from a C/C++ DLL in MATLAB. http://www.mathworks.com/help/ma...

6 years ago | 0

| accepted

How to call putty directly from matlab and write script that I can write on putty to control an actuator (UV LED power) through USB?

You may be able to control the actuator without using PuTTY and directly from MATLAB. There are few functions available on MA...

6 years ago | 0