Community Profile

### MathWorks

Last seen: más de 2 años hace Con actividad desde 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

Ver insignias

#### Content Feed

Ver por

Resuelto

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.

más de 4 años hace

Resuelto

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

casi 6 años hace

Resuelto

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

casi 8 años hace

Resuelto

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

alrededor de 8 años hace

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 1

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

más de 8 años hace | 0

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

más de 8 años hace | 1

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

más de 8 años hace | 1

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

más de 8 años hace | 0

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

más de 8 años hace | 4

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

más de 8 años hace | 2

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

más de 8 años hace | 0