photo

Matt J


Last seen: Today Active since 2010

Followers: 16   Following: 0

Message

Professional Interests: medical image processing, optimization algorithms PLEASE NOTE: I do not read email sent through my author page. Please post questions about FEX submissions in their respective Comments section.

Statistics

All
MATLAB Answers

290 Questions
12.302 Answers

File Exchange

38 Files

Cody

5 Problems
33 Solutions

Highlights

3 Highlights

RANK
6
of 300.447

REPUTATION
32.050

CONTRIBUTIONS
290 Questions
12.302 Answers

ANSWER ACCEPTANCE
78.28%

VOTES RECEIVED
4.255

RANK
201 of 21.006

REPUTATION
6.723

AVERAGE RATING
4.90

CONTRIBUTIONS
38 Files

DOWNLOADS
124

ALL TIME DOWNLOADS
55447

RANK
10.304
of 169.089

CONTRIBUTIONS
5 Problems
33 Solutions

SCORE
598

NUMBER OF BADGES
7

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
3 Highlights

AVERAGE NO. OF LIKES
2

  • Most Accepted 2024
  • Most Accepted 2023
  • Speed Demon
  • Creator
  • Editor's Pick
  • Personal Best Downloads Level 4
  • Community Group Solver
  • Commenter
  • Promoter
  • Leader
  • Solver
  • Most Accepted 2022

View badges

Feeds

Question


Free boundary of a tetrahedral mesh has interior-crossing edges
I have the following tetrahedralized solid, a right prism with a non-convex base, load data %Solid display tetramesh(TET,'F...

ongeveer 13 uur ago | 0 answers | 0

0

answers

Answered
Value to differentiate is not traced. It must be a traced real dlarray scalar. Use dlgradient inside a function called by dlfeval to trace the variables.
rawOut = extractdata(rawOut); dY8 = extractdata(dY8); dY18 = extractdata(dY18); If you pre-convert all your input...

ongeveer 15 uur ago | 0

Answered
Why the optimization results of lsqnonlin are different in R2026a and R2025a?
There appears to be a new (and buggy) implementation of expm.m in R2026a, resulting in incorrectly complex results for skew sym...

2 dagen ago | 1

| accepted

Answered
Quick substitution of all multi-objective optimization results (gamultiobj) into optimization expressions
Obviously I can build a loop over ii to get an array Mval, but is there a way to do it more elegantly? Doesn't seem it like it....

5 dagen ago | 0

Answered
Why is xlim not working?
Calling axis equal triggers an xlim,ylim adjustment. % Set parameters for main circle center = [3,6]; radius = 2; angleStart...

6 dagen ago | 1

| accepted

Submitted


A class for successive matrix products
A class representing products of matrices, internally storing/manipulating them separately.

6 dagen ago | 1 download |

0.0 / 5

Answered
How to define size of class property depending on a given parameter (including codegen)
With the classdef below, you can set the default size with its defaultSize() static method. This will remain in effect until the...

7 dagen ago | 1

Answered
"help" does not work
Possibly help.m is calling a function which you have shadowed. You will probably have to use dbstep to track this, or the equiva...

8 dagen ago | 0

Answered
App Designer: How can I use an index to increment a Value field such as editfield1.value, editfield2.value, editfield3.value, etc.?
It would be better to use a uitable for this, or at least to use numeric EditFields instead of textual EditFields. Regardless, ...

8 dagen ago | 0

| accepted

Answered
how to upscale the dimensions of a matrix to match the dimensions for a second matrix?
Use imresize load Carbon load Rain rainResized = imresize(rain, OutputSize=size(bc_aod)); tiledlayout('h') nexttile im...

8 dagen ago | 0

| accepted

Answered
rmpath does not remove folders on path
No, as you have been warned "/Users/siggia/Dropbox @RU Dropbox/Eric Siggia/Desktop/claude/matlabCP1" is not on your Matlab path....

9 dagen ago | 0

| accepted

Answered
Discrepancy in sparse matrix math, when NaN's present
The response I seem to be getting from Tech Support is that this is expected behavior. NaNs are not guaranteed to propagate the ...

13 dagen ago | 0

| accepted

Answered
Numerical Integrators With Problem-Based Optimization
but quickly realized that the class of variables used in the problem-based approach will not work with ode45 (or any root-findin...

15 dagen ago | 1

| accepted

Question


Discrepancy in sparse matrix math, when NaN's present
I expect result1 and result2 below to be identical, but they aren't. The discrepancy must be a bug, right? I'm working in R2024b...

16 dagen ago | 1 answer | 0

1

answer

Answered
Create a 2D image based on what a camera would see
You could just do a surface plot of the object, set the camera position parameters of the axes, and then use exportgraphics (whi...

18 dagen ago | 0

Answered
Assigning different data types to struct arrays using comma separated list assignment. Are there better options?
I like the performance of the code, however, I find it more difficult to read than for-loops Why not just use for-loops then, i...

18 dagen ago | 0

| accepted

Answered
I am getting the following error
There are many ways to generate that error. One of them is that you may be using 'end' as the name of a variable, e.g., end=1

20 dagen ago | 0

Answered
How to extract a specific frame from a video based on user input?
This example looks applicable to you: Read Video Frames Starting at Specific Time.

21 dagen ago | 0

Answered
Why do Nan values greatly increase the cost of sparse multiplication
I think you should report it as a bug. If you need a workaround, though, the following equivalent operation, which avoids implic...

21 dagen ago | 0

| accepted

Answered
How can I execute a function if it exist, otherwise use a custom function?
Have the used append (i.e., not prepend) your knnsearch to the path. If a native knnsearch exists above it in the path, it will ...

25 dagen ago | 0

| accepted

Answered
how to create a volume from the revolution of a variable area trapezoid
Here's a little bit more of a polished version of my original answer, which also generates a movie of the trapezoidal cross-sect...

26 dagen ago | 3

Answered
how to create a volume from the revolution of a variable area trapezoid
Along the lines of what @Mathieu NOE commented, I think it does make more sense to start with an elliptic cylinder and clip off ...

26 dagen ago | 3

Answered
Efficiently assign data into a struct?
You can replace all occurences of '1:end' with ':' and condense your indexing operations. This, for example, T1.var4.y = zer...

27 dagen ago | 0

Answered
How to multiply different size arrays and multiply each element by each element?
Download ndgridVecs from the File Exhange, https://www.mathworks.com/matlabcentral/fileexchange/74956-ndgridvecs?s_tid=srchtitl...

27 dagen ago | 0

Answered
Error using trainnet (line 46)
It appears that if your XTrain is in cell array form, you need to put your TTrain data in cell form as well: load('attachedData...

28 dagen ago | 1

| accepted

Answered
Indexing a 4-D array using a logical matrix
Assuming you are trying to extract the polygon interiors, you could do, [~,~,p,q]=size(map); Map=reshape(map,[],p*q); tes...

ongeveer een maand ago | 0

| accepted

Answered
What is the difference between different ways to do least square
The train_100 system is underdetermined, so of course you aren't going to get a unique solution. For the 5k data, the only rea...

ongeveer een maand ago | 1

| accepted

Answered
How to change the ratio of sectors for a circle with 8 equal sectors
One possibility: dTheta=360/8; %sector angle t=linspace(0,dTheta)'; sector=polyshape([0,0;cosd(t),sind(t)]); circle=array...

ongeveer een maand ago | 0

| accepted

Answered
How to convert trajectory of the current vector to grayscale.
Maybe this is what you wanted? load("data.mat") Ia = data(:,1); Ib = data(:,2); Ic = data(:,3); %% Clarke (3 phase → αβ...

ongeveer een maand ago | 1

| accepted

Answered
optimization optimplot capture frame
optimplot does not plot in a figure container of the type that you can get a handle to. Prior to R2025, you could probably have...

ongeveer een maand ago | 0

| accepted

Load more