Community Profile

Sven

University of Michigan

Last seen: 2일 전 2011년부터 활동

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

All

배지 보기

Content Feed

보기 기준

질문

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

5달 전 | 답변 수: 1 | 0

1

답변

제출됨

biasspace
Generates a vector of non-linearly spaced vector with custom bias in the spacing between points

11달 전 | 다운로드 수: 2 |

질문

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

1년 이상 전 | 답변 수: 1 | 1

1

답변

문제를 풀었습니다

Find an inscribed square on a closed curve

2년 이상 전

문제를 풀었습니다

Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

2년 이상 전

제출됨

stlwrite - write ASCII or Binary STL files
Export a variety of inputs (patch, surface) to an STL triangular mesh

4년 이상 전 | 다운로드 수: 100 |

답변 있음
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...

4년 이상 전 | 0

문제를 풀었습니다

Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

약 5년 전

문제를 풀었습니다

Write a function to provide a yes or no answer to the input string. However, it must plead the 5th amendment (return an empty st...

약 5년 전

문제를 풀었습니다

Spot the First Occurrence of 5
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

약 5년 전

문제를 풀었습니다

5 Prime Numbers
Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

약 5년 전

문제를 풀었습니다

Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

약 5년 전

문제를 풀었습니다

Is it really a 5?
A number containing at least one five will be passed to your function, which must return true or false depending upon whether th...

약 5년 전

문제를 풀었습니다

How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

약 5년 전

문제를 풀었습니다

When Was That Goal Scored?
We want to find out when the goals were scored in a particular soccer game. For each game, we are given a "Goal Event Data" XML ...

6년 이하 전

문제를 풀었습니다

Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

6년 이상 전

답변 있음
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...

6년 이상 전 | 0

답변 있음
how to make cropping for image ?

6년 이상 전 | 1

답변 있음
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...

6년 이상 전 | 1

| 수락됨

답변 있음
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...

6년 이상 전 | 0

질문

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

7년 이하 전 | 답변 수: 1 | 1

1

답변

제출됨

inpolyhedron - are points inside a triangulated volume?
Test if 3d points are inside a mesh. Or, voxelise a mask from a surface. Mesh can be non-convex too!

약 7년 전 | 다운로드 수: 19 |

질문

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

약 7년 전 | 답변 수: 1 | 2

1

답변

제출됨

upsert(conn,tableName,fieldNames,keyFields,data, varargin)
If a data row already exists, UPDATE that row! If it doesn't exist, INSERT that row!

7년 이상 전 | 다운로드 수: 2 |

답변 있음
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(...

7년 이상 전 | 2

| 수락됨

제출됨

Converts an object with multiple boundary contours to a logical mask

7년 이상 전 | 다운로드 수: 4 |

답변 있음
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...

7년 이상 전 | 0

답변 있음
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...

7년 이상 전 | 0

답변 있음
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...

7년 이상 전 | 0

| 수락됨

질문

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

8년 이하 전 | 답변 수: 0 | 0

답변