Answered

How is f(x) evaluated for each iteration using fsolve?

The values shown under f(x) in the iteration table are indeed not literally the function values at that given iteration, you are...

How is f(x) evaluated for each iteration using fsolve?

The values shown under f(x) in the iteration table are indeed not literally the function values at that given iteration, you are...

4 months ago | 1

| accepted

Answered

Has anyone else encountered the JDBC Daylight Savings Time bug?

This conversion actually happens inside the JDBC driver and what it probably does is assume that the date/time which you specifi...

Has anyone else encountered the JDBC Daylight Savings Time bug?

This conversion actually happens inside the JDBC driver and what it probably does is assume that the date/time which you specifi...

5 months ago | 0

Answered

I have 2 columns and 10 rows of numerical data in my excel file. How to import this data in to MATLAB and then plot it?

Importing data from Excel can be done using the “readtable” function. For example, to read all data from myfile.xls: T =...

I have 2 columns and 10 rows of numerical data in my excel file. How to import this data in to MATLAB and then plot it?

Importing data from Excel can be done using the “readtable” function. For example, to read all data from myfile.xls: T =...

7 months ago | 8

| accepted

Answered

How do I change styles in a Word through actxserver.

In COM/VBA there is a concept called "default member", which is the member that gets called if you do not specify a specific met...

How do I change styles in a Word through actxserver.

In COM/VBA there is a concept called "default member", which is the member that gets called if you do not specify a specific met...

10 months ago | 0

Answered

Can't reload '/usr/local/matlab-res.2015b/bin/glnxa64/libmwosgserver.so'

This issue may be related to a version conflict between system libraries and the libstdc++ version included with MATLAB. You may...

Can't reload '/usr/local/matlab-res.2015b/bin/glnxa64/libmwosgserver.so'

This issue may be related to a version conflict between system libraries and the libstdc++ version included with MATLAB. You may...

1 year ago | 5

Answered

OpenMP Mex files : static TLS problem

If you want to make use of OpenMP, please follow this workflow: <https://www.mathworks.com/matlabcentral/answers/237411-can-i...

OpenMP Mex files : static TLS problem

If you want to make use of OpenMP, please follow this workflow: <https://www.mathworks.com/matlabcentral/answers/237411-can-i...

2 years ago | 1

Answered

Getting Error on WebFigure

Please do not compile the example by running |compileVarArgServletDemo| in the $MATLABROOT\toolbox\javabuilder\Examples\jav...

Getting Error on WebFigure

Please do not compile the example by running |compileVarArgServletDemo| in the $MATLABROOT\toolbox\javabuilder\Examples\jav...

2 years ago | 0

Answered

Setting Y-Limits of a target scope using Simulink Real-Time Explorer

The issue which you are seeing appears to be a bug in the real-time explorer when working with a locale which uses comma as deci...

Setting Y-Limits of a target scope using Simulink Real-Time Explorer

The issue which you are seeing appears to be a bug in the real-time explorer when working with a locale which uses comma as deci...

3 years ago | 0

| accepted

Answered

Dominating Frequencies of FFT and Lomb Periodogram do not agree - Why?

It does not look like there is anything with how you visualize the results. The results really are different because you use two...

Dominating Frequencies of FFT and Lomb Periodogram do not agree - Why?

It does not look like there is anything with how you visualize the results. The results really are different because you use two...

3 years ago | 0

| accepted

Answered

Seeing gray pixels when plotting a binary image (> 1024 x 1024 pixels)

This is an issue which may occur in MATLAB R2015a when working with the OpenGL renderer in software mode. If possible try switch...

Seeing gray pixels when plotting a binary image (> 1024 x 1024 pixels)

This is an issue which may occur in MATLAB R2015a when working with the OpenGL renderer in software mode. If possible try switch...

3 years ago | 0

Answered

Hoe to get size of returned array from C#

1. If you have a multidimensional array (like |Double[,,,]|) and not a Jagged array (like |Double[][][][]|), you should be able ...

Hoe to get size of returned array from C#

1. If you have a multidimensional array (like |Double[,,,]|) and not a Jagged array (like |Double[][][][]|), you should be able ...

3 years ago | 0

| accepted

Answered

MATLAB fails to execute line with uigetfile-- why?

It looks like you are running into the bug which is described here: https://www.mathworks.com/support/bugreports/895795 Th...

MATLAB fails to execute line with uigetfile-- why?

It looks like you are running into the bug which is described here: https://www.mathworks.com/support/bugreports/895795 Th...

4 years ago | 1

Answered

Matlab 2013b does not have websave function?

WEBSAVE was introduced in MATLAB R2014b. Please have a look at the URLWRITE function for MATLAB R2013b.

Matlab 2013b does not have websave function?

WEBSAVE was introduced in MATLAB R2014b. Please have a look at the URLWRITE function for MATLAB R2013b.

4 years ago | 3

| accepted

Answered

errors in making standalone program using matlab 2013b

Errors like the one shown above occur when an application encounters a different tbb.dll version than expected. So the important...

errors in making standalone program using matlab 2013b

Errors like the one shown above occur when an application encounters a different tbb.dll version than expected. So the important...

5 years ago | 2

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

5 years ago

Answered

MCR 7.17 memory leak when used from Java

The problem here is with the anonymous MWArrays which you are creating to fill the struct array with. I will try to explain this...

MCR 7.17 memory leak when used from Java

The problem here is with the anonymous MWArrays which you are creating to fill the struct array with. I will try to explain this...

6 years ago | 1

| accepted

Solved

All capital?

Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

6 years ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

6 years ago

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

6 years ago

Solved

The Hitchhiker's Guide to MATLAB

Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

6 years ago

Answered

Does Matlab R2011a DAQ toolkit support NI USB 6210?

According to the support hardware pages: http://www.mathworks.nl/products/daq/supported/ni-daqmx.html This device is indee...

Does Matlab R2011a DAQ toolkit support NI USB 6210?

According to the support hardware pages: http://www.mathworks.nl/products/daq/supported/ni-daqmx.html This device is indee...

6 years ago | 0

Answered

Access violations in base MATLAB code

These exceptions are most probably coming from the JIT in the JRE so what you could try is running MATLAB without Java. To do so...

Access violations in base MATLAB code

These exceptions are most probably coming from the JIT in the JRE so what you could try is running MATLAB without Java. To do so...

6 years ago | 0

Solved

The Answer to Life, the Universe, and Everything

A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

6 years ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

6 years ago

Answered

Parallel Computing and Save function

The <http://www.mathworks.com/help/toolbox/distcomp/labindex.html |LABINDEX|> function returns the index of the worker. You shou...

Parallel Computing and Save function

The <http://www.mathworks.com/help/toolbox/distcomp/labindex.html |LABINDEX|> function returns the index of the worker. You shou...

6 years ago | 4

| accepted

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

6 years ago

Answered

Error when using decsg (PDE Toolbox)

Please make sure that your input matrix is valid. For example if it defined polygons, please make sure it does not contain any d...

Error when using decsg (PDE Toolbox)

Please make sure that your input matrix is valid. For example if it defined polygons, please make sure it does not contain any d...

7 years ago | 0

| accepted

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

7 years ago