Community Profile

### MathWorks

Last seen: 1 year 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

All

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

3 years ago

Solved

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

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

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

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

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

7 years ago | 0

| accepted

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

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

7 years ago | 0

Intersection points between a line and trisurf plot

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

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

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

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

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

7 years ago | 0

Serial Communication in Maltab using Linux 64 Bit

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

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

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

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

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

8 years ago | 0

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

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

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

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

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

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

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

8 years ago | 2