Community Profile

photo

Dasharath Gulvady

MathWorks

Last seen: 2 years ago Active since 2014

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

All
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Content Feed

View by

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.

4 years ago

Solved


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

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

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

8 years ago

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

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 0

| accepted

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

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

9 years ago | 0

Answered
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]); ...

9 years ago | 0

| accepted

Answered
Length of a 3D curve.
You have declared 's' inside "spacecurvelength" function. I am guessing it needs to be declared outside. >> syms s; >> c...

9 years ago | 0

Answered
How to put cell array in sprintf?
a={1,2,3,4,5}; sprintf('%d,%d,%d,%d,%d',a{:});

9 years ago | 1

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

9 years ago | 0

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

9 years ago | 1

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

9 years ago | 1

| accepted

Answered
Matlab NNU License with Concurrent Toolboxes
The licensing is independent of MATLAB release. You must be able to use NNU license in any release.

9 years ago | 0

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

9 years ago | 4

Answered
How to write a matrix into Geotiff file?
According to the documentation R is: _spatialref.GeoRasterReference object, referencing matrix, or referencing vector; or spa...

9 years ago | 2

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

9 years ago | 0

| accepted

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

9 years ago | 0

Load more