Submitted

nearestPSD

Find the nearest Positive Semi-Definite matrix to an arbitrary real or complex square matrix.

11 months ago | 4 downloads |

Answered

Is there a better way to compute metrics on labeled array elements.

Thank you for that tip @Walter. After further review: 1. The way I wrote the sample data set, labels is actually a cha...

Is there a better way to compute metrics on labeled array elements.

Thank you for that tip @Walter. After further review: 1. The way I wrote the sample data set, labels is actually a cha...

2 years ago | 0

Question

Is there a better way to compute metrics on labeled array elements.

For example, I have a 1d double array 'data' and a 1d cell array of strings called 'labels'. For each unique label I want the me...

2 years ago | 2 answers | 0

Question

Disable "Press Shift Enter to rename all $n instances of ..."

Is there a way to disable the contextual popup "Press Shift Enter to rename all $n instances of ..." in the editor? I'm ...

2 years ago | 1 answer | 0

Question

updating P-code

Is it possible to update old .p files to make them compatible with newer versions of Matlab (without the source code)?

3 years ago | 1 answer | 0

Question

What is the interpretation of trapz(x,cumtrapz(x,y))?

x = (-12:12); y = zeros(1,numel(x)); y(12:14) = 0.33; z = trapz(x,cumtrapz(x,y)); edit: Alternatively what does ...

3 years ago | 1 answer | 0

Submitted

circlePlot

plots amplitudes at angles as radii above a unit circle

3 years ago | 1 download |

Answered

smoothing values on a closed triagulated surface

I think I have a solution. It works by applying a 2d-Gaussian each point, using a geodesic matrix. % for a surface with nv...

smoothing values on a closed triagulated surface

I think I have a solution. It works by applying a 2d-Gaussian each point, using a geodesic matrix. % for a surface with nv...

3 years ago | 0

| accepted

Question

smoothing values on a closed triagulated surface

My data consist of a closed triangulated surface with a value at each vertex. How do I smooth these values (not the mesh itself)...

3 years ago | 1 answer | 0

Question

Change default behavior of cellfun to 'UniformOuput' = false

Is there a way to make 'UniformOuput' = false the default for cellfun and functions like it?

3 years ago | 1 answer | 0

Question

programatically dock and undock the editor

Is is possible to programatically dock and undock the editor? I am using MATLAB 2016b.

4 years ago | 1 answer | 0

Answered

What is the syntax for building a command-line pde given the model parameters exported from pdetool?

I believe I have figured it out. v = assempde(b,p,e,t,c,a,f); This returns the solution for each point in the mesh. ...

What is the syntax for building a command-line pde given the model parameters exported from pdetool?

I believe I have figured it out. v = assempde(b,p,e,t,c,a,f); This returns the solution for each point in the mesh. ...

4 years ago | 0

| accepted

Question

What is the syntax for building a command-line pde given the model parameters exported from pdetool?

I have a working 2-d pdetool model, that I would like to convert to a command line model in order to iterate and export solution...

4 years ago | 1 answer | 0

Question

Zero-phase filtering gpuArray

Hello, How does one filtfilt a gpuArray? Using R2015b. Thank you.

4 years ago | 0 answers | 1

Question

No performance increase in load/save after installing SSD?

I regularly save and load large (>2Gb) matrices. Using <https://www.mathworks.com/matlabcentral/fileexchange/39721-save-mat-fi...

4 years ago | 0 answers | 0

Question

How to load partial cell content from a .mat file?

Hello, I have a mat file which contains a structure. One field contains a cell array. Each cell of this array contains a nume...

4 years ago | 0 answers | 0

Question

Return the cursor to the command window after dbstop?

Is there a way to return the cursor to the command window after dbstop by default? I am aware that I can toggle between the edit...

6 years ago | 0 answers | 0