Sven
University of Michigan
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
Feeds
解決済み
Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...
5ヶ月 前
解決済み
MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9
5ヶ月 前
質問
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...
5ヶ月 前 | 1 件の回答 | 0
1
回答回答済み
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...
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...
1年以上 前 | 0
質問
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...
2年以上 前 | 1 件の回答 | 0
1
回答送信済み
biasspace
Generates a vector of non-linearly spaced vector with custom bias in the spacing between points
3年弱 前 | ダウンロード 4 件 |
質問
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 ...
3年以上 前 | 1 件の回答 | 1
1
回答解決済み
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...
約4年 前
送信済み
stlwrite - write ASCII or Binary STL files
Export a variety of inputs (patch, surface) to an STL triangular mesh
6年以上 前 | ダウンロード 107 件 |
回答済み
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...
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...
6年以上 前 | 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...
約7年 前
解決済み
I Plead the Fifth
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...
約7年 前
解決済み
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://...
約7年 前
解決済み
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...
約7年 前
解決済み
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...
約7年 前
解決済み
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...
約7年 前
解決済み
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...
約7年 前
解決済み
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 ...
8年弱 前
解決済み
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
8年以上 前
回答済み
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...
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...
8年以上 前 | 0
回答済み
how to make cropping for image ?
Hi Eliz, try this: % Read your original image Img1 = imread('http://www.mathworks.com/matlabcentral/answers/uploaded_fil...
how to make cropping for image ?
Hi Eliz, try this: % Read your original image Img1 = imread('http://www.mathworks.com/matlabcentral/answers/uploaded_fil...
8年以上 前 | 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...
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...
8年以上 前 | 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...
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...
8年以上 前 | 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 ...
9年弱 前 | 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!
9年弱 前 | ダウンロード 74 件 |
質問
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...
約9年 前 | 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!
約9年 前 | ダウンロード 1 件 |
回答済み
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(...
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(...
9年以上 前 | 2
| 採用済み