photo

Sven


Last seen: 8 jours il y a Actif depuis 2011

Followers: 2   Following: 0

Message

Aussie living in the US. Engineering with MATLAB. Some Interests: -3D Volume Processing (CT, mri) -Finite Element Analysis (human body simulation) -Geometry Analysis (human body morphomics) Professional Interests: Image processing, Finite Element Analysis, Human Body Biomechanics

Statistiques

All
MATLAB Answers

19 Questions
205 Réponses

File Exchange

19 Fichiers

Cody

1 Problème
171 Solutions

Discussions

1 Point fort

RANG
122
of 301 628

RÉPUTATION
1 041

CONTRIBUTIONS
19 Questions
205 Réponses

ACCEPTATION DE VOS RÉPONSES
57.89%

VOTES REÇUS
260

RANG
156 of 21 366

RÉPUTATION
7 994

CLASSEMENT MOYEN
4.90

CONTRIBUTIONS
19 Fichiers

TÉLÉCHARGEMENTS
122

ALL TIME TÉLÉCHARGEMENTS
68051

RANG
1 505
of 175 858

CONTRIBUTIONS
1 Problème
171 Solutions

SCORE
1 808

NOMBRE DE BADGES
5

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
1 Point fort

NOMBRE MOYEN DE LIKES
2

  • Scavenger Finisher
  • Revival Level 2
  • 6 Month Streak
  • Quiz Master
  • Commenter
  • Explorer
  • Personal Best Downloads Level 4
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Thankful Level 3

Afficher les badges

Feeds

Question


Function (in 2024a) to separate implicit directory parts from a folder string?
In MATLAB versions from 2014 to 2023b there was an internal utility function called matlab.internal.language.introspective.separ...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Is there any function similar to 'clabel' to use in 3D graphics (contourslice)?
A 3D spatial domain generates a 3D isosurface (rather than a 2D isocontour). Here is some code to generate/display such a surfa...

environ 3 ans il y a | 0

Question


Cascading sort order that restarts count at each subsequent column
I'm trying to sort a table by multiple columns (easy) and obtain a specialized sort order (not-so-easy). Rather than a sortInde...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


Delete axes interactions not working?
I'm using 2021a and it seems that deleting/disabling interactions isn't working as expected. I'm just trying to either (1) make ...

environ 5 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
ftlim multiple regression with interaction term
It's a few years late but I think I've discovered the bug that may have been your problem (or at least generates a similar error...

environ 8 ans il y a | 0

Réponse apportée
FaceAlpha of bar3 plot smaller than 1 ruins rest of the plot
Hi Sven, We don't have your data (and we don't even know which of your variables are matrices, which are vectors etc.), so we...

presque 10 ans il y a | 0

Réponse apportée
how to make cropping for image ?
Hi Eliz, try this: % Read your original image Img1 = imread('http://www.mathworks.com/matlabcentral/answers/uploaded_fil...

environ 10 ans il y a | 1

Réponse apportée
how to compare cell arrays of different lengths?
We can start with your input a = int64(1:3)'; out = num2cell(a); b = int64(1:4)'; out2 =num2cell(b); We will pr...

environ 10 ans il y a | 1

| A accepté

Réponse apportée
how to save all value of centoid of many object from one image ?
The centroid is not a scalar value. It has two components (X coordinate, Y coordinate), so you cannot assign it to a scalar vari...

environ 10 ans il y a | 0

Question


Save using -append behaves differently when replacing objects vs replacing arrays
Hi all, I'm trying to save some variables to a .mat file, appending to that file if the variable is new, overwriting if it's ...

plus de 10 ans il y a | 1 réponse | 1

1

réponse

Question


Indexing via 3d array changed behaviour 2015a -> 2015b?
Hi all, just got 2015b, here's a strange one where indexing via a multidimensional array has a differently shaped output to prev...

plus de 10 ans il y a | 1 réponse | 2

1

réponse

Réponse apportée
Convert image into Patches of size 64*64 and get each patch
Hi Tahir, try this: I = imread('rice.png'); imSz = size(I); patchSz = [64 64]; xIdxs = [1:patchSz(2):imSz(2) imSz(...

presque 11 ans il y a | 2

| A accepté

Réponse apportée
Overlapping region of a single ROI is excluded by the mask
Hi Alessandro, When you say that you _"want to draw a closed ring shape with a single line"_, we might step-by-step reinterpr...

environ 11 ans il y a | 0

Réponse apportée
Find strings that contain multiple substrings at the same time
Hi Sven, Here's how I would do it. It uses a call to *regexp* (you could also use *strsplit*) and one *cellfun*. The good thi...

environ 11 ans il y a | 0

Réponse apportée
How can I replace a loop with arrayfun - problems with strrep
Hi Sven (congrats on the name), Here's a pretty direct way to do what you're trying to do. It uses regexp once and cellfun on...

environ 11 ans il y a | 0

| A accepté

Question


Fit to just half a parabola
Hi there, I have some simple XY data, and I can fit a quadratic to it as follows: X = [25.4 30.48 35.56 40.64 45.72 5...

environ 11 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
how can i remove object bigger than x pixel
Hi Lukasz, Here's an example that removes all objects greater than 1000 pixels in area. You probably have your own *BW* image...

plus de 11 ans il y a | 1

| A accepté

Question


getframe difference in 2014b.... bug?
The following code run in 2014a and 2014b produces remarkably different results. I think it's a bug. figure('Position',[100...

plus de 11 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
Question regarding matrix index
Hi jana, Try this: X = [1 2 3 4 5; 3 inf 5 7 inf; 5 6 7 inf inf; 2 3 4 9 1] [val, rowNum] = ...

presque 12 ans il y a | 0

Réponse apportée
Get new variable with elements from a double matrix & cell array given a specific condition
Hi Maria, This code should do what you're looking for: A = { '19970102' '00000127' 'MORRISON' '00148' 'BA' '199701...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
identifying number on dice
Hi Sameer, Here's what I would do. It's a little like IA's bwareaopen suggestion. It tries to make minimal assumptions other th...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Please help create a transition matrix
Hi Ella, The code below should do what you're looking for. I displayed the result as an image but you can just look at the fi...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
Creating an array without mesgrid
You're very close: for i=1:3 for j=1:3 X(i,j)=j; Y(i,j)=i; end end No...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
Finding signal to noise ratio
Hi Tinkul, does this help you out? I assume that the values you gave are already in your desired units (although true SNR is bas...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
how to simplify connected blobs
Hi Sukuchha, please see <http://blogs.mathworks.com/steve/2014/03/27/comparing-the-geometries-of-bwboundaries-and-poly2mask/#com...

environ 12 ans il y a | 0

Réponse apportée
how to simplify connected blobs
Hi Sukuchha, I think that you just need to do this: XY = [0 0; 1 0; 1 1; 0 1]; % unclosed XY points XY_closed = XY(...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
How to write a function that returns the element that is the center of a vector or matrix?
Hi Kimberly, try this: % Set up some input x = [1 2 3 4 5 8 1 1 2] % Grab the middle column(s) x...

environ 12 ans il y a | 1

Réponse apportée
Output matrix for simple function
Hi Derek, MATLAB has some useful ways to do what you're trying to do. If you use the (.*) operator instead of (*), it will pe...

environ 12 ans il y a | 0

Réponse apportée
How can I calculate the perimeters of Delaunay triangles?
Hi ZhG, Here is some code that shows a few different ways of getting the perimeter of triangles. It first just shows the leng...

environ 12 ans il y a | 1

Réponse apportée
2D Plotting With Non Numeric X Axis
Hi Dan, Try this code, there's a *dateaxis* command perfect for what you want: xVals = datenum(0,1:12,1); % The first da...

environ 12 ans il y a | 0

Charger plus