Community Profile

### MathWorks

Last seen: ongeveer 2 jaar 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.

meer dan 4 jaar ago

Solved

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

meer dan 5 jaar 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:...

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

bijna 8 jaar 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:/...

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

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

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

ongeveer 8 jaar ago | 0

Intersection points between a line and trisurf plot

meer dan 8 jaar 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 ...

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar 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&...

meer dan 8 jaar ago | 0

Serial Communication in Maltab using Linux 64 Bit

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar 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 ...

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

meer dan 8 jaar 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...

meer dan 8 jaar ago | 0

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

meer dan 8 jaar 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...

meer dan 8 jaar 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 "...

meer dan 8 jaar 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...

meer dan 8 jaar 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.

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar ago | 2

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

meer dan 8 jaar 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...

meer dan 8 jaar ago | 0