photo

Matt J


Last seen: Today Attivo dal 2010

Followers: 16   Following: 0

Messaggio

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.

Statistica

All
MATLAB Answers

290 Domande
12.302 Risposte

File Exchange

38 File

Cody

5 Problemi
33 Soluzioni

Highlights

3 Punti principali

RANK
6
of 300.444

REPUTAZIONE
32.050

CONTRIBUTI
290 Domande
12.302 Risposte

ACCETTAZIONE DELLE RISPOSTE
78.28%

VOTI RICEVUTI
4.255

RANK
201 of 21.002

REPUTAZIONE
6.723

VALUTAZIONE MEDIA
4.90

CONTRIBUTI
38 File

DOWNLOAD
125

ALL TIME DOWNLOAD
55446

RANK
10.297
of 169.024

CONTRIBUTI
5 Problemi
33 Soluzioni

PUNTEGGIO
598

NUMERO DI BADGE
7

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
3 Punti principali

NUMERO MEDIO DI LIKE
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

Visualizza badge

Feeds

Domanda


Free boundary of a tetrahedralized solid
I have the following tetrahedralized solid, a right prism with non-convex base, load data tetramesh(TET,'FaceAlpha',1); axis ...

circa 3 ore fa | 0 risposte | 0

0

risposte

Risposto
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...

circa 6 ore fa | 0

Risposto
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...

1 giorno fa | 1

| accettato

Risposto
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 giorni fa | 0

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

5 giorni fa | 1

| accettato

Risposto
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 giorni fa | 1

Risposto
"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 giorni fa | 0

Risposto
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 giorni fa | 0

| accettato

Risposto
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 giorni fa | 0

| accettato

Risposto
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 giorni fa | 0

| accettato

Risposto
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 giorni fa | 0

| accettato

Risposto
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...

14 giorni fa | 1

| accettato

Domanda


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 giorni fa | 1 risposta | 0

1

risposta

Risposto
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 giorni fa | 0

Risposto
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 giorni fa | 0

| accettato

Risposto
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

19 giorni fa | 0

Risposto
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 giorni fa | 0

Risposto
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 giorni fa | 0

| accettato

Risposto
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 giorni fa | 0

| accettato

Risposto
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...

25 giorni fa | 3

Risposto
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 giorni fa | 3

Risposto
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...

26 giorni fa | 0

Risposto
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 giorni fa | 0

Risposto
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...

27 giorni fa | 1

| accettato

Risposto
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...

30 giorni fa | 0

| accettato

Risposto
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...

circa un mese fa | 1

| accettato

Risposto
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...

circa un mese fa | 0

| accettato

Risposto
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 → αβ...

circa un mese fa | 1

| accettato

Risposto
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...

circa un mese fa | 0

| accettato

Risposto
Preconditioning in fmincon
EDIT: You cannot pass a preconditioner on its own, nor would you want to if the true Hessian can be computed. However, using eit...

circa un mese fa | 0

Carica altro