Sr. Compiler Engineer

Answered

rdivide and minus operation runs faster on GPU than rdivide alone.

Try varying the size of the inputs. Reducing the size of the input from 1e8 to 1e5 shows expected behavior. (ie gpuTest2 being ...

rdivide and minus operation runs faster on GPU than rdivide alone.

Try varying the size of the inputs. Reducing the size of the input from 1e8 to 1e5 shows expected behavior. (ie gpuTest2 being ...

mehr als ein Jahr ago | 0

Answered

How to use memoization in MatLab?

Memoize was added to MATLAB in R2017a. The <https://www.mathworks.com/help/matlab/ref/memoize.html documentation> is a good ...

How to use memoization in MatLab?

Memoize was added to MATLAB in R2017a. The <https://www.mathworks.com/help/matlab/ref/memoize.html documentation> is a good ...

mehr als ein Jahr ago | 0

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

fast 8 Jahre 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:...

fast 8 Jahre ago

Answered

Import and view vectors

1) Choose from the TEXTSCAN, IMPORTDATA functions to read in the data from the txt file into MATLAB, 2) use the QUIVER/ QUIV...

Import and view vectors

1) Choose from the TEXTSCAN, IMPORTDATA functions to read in the data from the txt file into MATLAB, 2) use the QUIVER/ QUIV...

mehr als 8 Jahre ago | 0

Answered

GUI register?

If the question means that you want to create a variable in the base workspace filled with data from the GUI. Then in a callback...

GUI register?

If the question means that you want to create a variable in the base workspace filled with data from the GUI. Then in a callback...

mehr als 8 Jahre ago | 0

| accepted

Answered

Edit .ogg files

Use an external converter in the OS to convert the OGG files to WAV. Read the Wav file into MATLAB and then use the WAV data ...

Edit .ogg files

Use an external converter in the OS to convert the OGG files to WAV. Read the Wav file into MATLAB and then use the WAV data ...

mehr als 8 Jahre ago | 0

Answered

Changing colors in an image

The tiff image seems to be in a RGB true color format. If this is so you can change the image from from true color to indexed fo...

Changing colors in an image

The tiff image seems to be in a RGB true color format. If this is so you can change the image from from true color to indexed fo...

mehr als 8 Jahre ago | 1

Answered

Why does solve ignore if a variable is assumed real or positive?

This behaviour occurs because the solver cannot find an analytical solution, and switches to the numeric solver. The numeric sol...

Why does solve ignore if a variable is assumed real or positive?

This behaviour occurs because the solver cannot find an analytical solution, and switches to the numeric solver. The numeric sol...

etwa 9 Jahre ago | 4

Question

Why does solve ignore if a variable is assumed real or positive?

When I use 'solve' on a complicated equation with variables assumed to be real or positive, these assumptions are sometimes igno...

etwa 9 Jahre ago | 1 answer | 1

Question

If I have two plots on the same figure window, how do I use the Brush tool to highlight one data point and have the corresponding data point on the other plot highlighted in MATLAB 7.11 (R2010b)?

I have two plots side-by-side and they plot data with the same size. I would like to use the Brush tool to highlight one data po...

etwa 9 Jahre ago | 3 answers | 0

Answered

How can I display the current pointer location in X and Y values while using GINPUT in MATLAB 7.10 (R2010a)?

There is no supported function for doing this. Attached is a modified version of GINPUT, which references a third party functio...

How can I display the current pointer location in X and Y values while using GINPUT in MATLAB 7.10 (R2010a)?

There is no supported function for doing this. Attached is a modified version of GINPUT, which references a third party functio...

etwa 9 Jahre ago | 0

Question

Is there a way in MATLAB 7.10 (R2010a) to find out if the "Tag" for a TIFF file is empty?

I am using the getTag function in the Tiff class to query the "Tag" field. The function works fine. But if the Tag is empty, my ...

etwa 9 Jahre ago | 1 answer | 0

Answered

How can I view the automatically generated initial population from GA in Global Optimization Toolbox?

To see the intial population, one can specify/set the 'OutputFcns' property from the option used by GA. The function set by 'Out...

How can I view the automatically generated initial population from GA in Global Optimization Toolbox?

To see the intial population, one can specify/set the 'OutputFcns' property from the option used by GA. The function set by 'Out...

etwa 9 Jahre ago | 1

| accepted

Question

How can I make a MATLAB program to take exactly the same time to run, every time it is run in MATLAB?

I have a MATLAB program which takes a certain amount of time to run, however I see that the time taken to execute in MATLAB is n...

etwa 9 Jahre ago | 3 answers | 1

Question

Why do I get false results when using equal relational operation for the logical operation?

I would like to get true when I use equal rational operation in a code including if condition. But I got false for the equal rat...

etwa 9 Jahre ago | 2 answers | 0

Question

Why does MATLAB terminate with no error message when using the UNIX redirection operator (<) to pass an input MATLAB file with a syntax error?

When a MATLAB file contains a control structure that does not terminate with an 'end' statement before the end of file is reache...

etwa 9 Jahre ago | 1 answer | 0

Question

How to solve a system of ODEs involving integral constraints using BVP4C in MATLAB 7.11 (R2010b)?

I am trying to solve a system of ODEs with associated boundary conditions and integral constraints. How to incorporatethe integr...

etwa 9 Jahre ago | 1 answer | 1

Question

How does SVMTRAIN determine Polynomial and RBF Kernel parameters (gamma,C) in the Bioinformatics Toolbox 3.5 (R2010a)?

I am using SVMTRAIN from the Bioinformatic Toolbox 3.5 (R2010a) and I would like to know if SVMTRAIN chooses the Kernel paramete...

etwa 9 Jahre ago | 1 answer | 0

Question

How do I place a custom title in the metadata of a pdf document?

When saving a figure to a .PDF document by any method, for example saveas, print or File->Save as, the title in the metadata (ac...

etwa 9 Jahre ago | 1 answer | 0

Question

How do I improve my neural network performance?

My neural network either does not reach its error goal or takes too long and uses too much memory to train.

etwa 9 Jahre ago | 3 answers | 3

Question

How can I remove all the paths for Toolboxes in MATLAB 7.9 (R2009b)?

I have my own functions I created when I had only MATLAB and no other Toolboxes. Now with other Toolboxes installed, functions w...

etwa 9 Jahre ago | 2 answers | 0

Question

How can I display the current pointer location in X and Y values while using GINPUT in MATLAB 7.10 (R2010a)?

While using GINPUT on an 2D axes, I would like to view the X and Y values at the cursor location in the figure window prior to s...

etwa 9 Jahre ago | 1 answer | 0

Question

Does absolute intensity in an image matter when computing the normalized cross correlation with NORMXCORR2?

I have two different images of the same object which differ in overall intensity. I would like to know if this will affect the n...

etwa 9 Jahre ago | 1 answer | 0

Question

Why do I get an error 'undefined function initprintexporttemplate' when creating a figure using GUIDE?

After Installing the Instrument Control Toolbox, the GUIDE command results in an error Reproduction Steps %%%BEGIN CODE%%% >>gu...

etwa 9 Jahre ago | 2 answers | 0

Question

Is it possible to calculate the tail probablitlies of the chi-square distribution in MATLAB 7.11 (R2010b)?

I want to compute 1-chi2cdf(x,d) and the tail probability of a chi-square PDF. The function CHI2CDF cancels its value when its v...

etwa 9 Jahre ago | 1 answer | 0

Question

How to hide the grid lines using GRIDM function behind a marker in map axes?

When I use GRIDM for a map containing a marker, the grid lines appear in front of the marker. axesm('pcarree','MapLatLimit...

etwa 9 Jahre ago | 2 answers | 0

Question

How can I bind .m files to MATLAB on Linux in MATLAB 7.9 (R2009b)?

I have .m files on Linux and want to double click on any of those to get the MATLAB Editor started and open the .m file I have j...

etwa 9 Jahre ago | 1 answer | 0

Answered

How can I save an object that contains linked lists in MATLAB?

The three MATLAB files in the resolution documents demonstrate how to save (singly) linked lists without overriding the SAVEOBJ ...

How can I save an object that contains linked lists in MATLAB?

The three MATLAB files in the resolution documents demonstrate how to save (singly) linked lists without overriding the SAVEOBJ ...

etwa 9 Jahre ago | 0